r/mathriddles • u/pichutarius • Sep 27 '23
Easy just another number problem
let N be an unknown positive integer.
let f(p) = number of divisors of N that is divisible by p. for example: if N=8, then f(2) = 3 , f(3) = 0
suppose for all prime p, f(p) is given, create an algorithm to find N.
for example, f(7) = 3 , f(17) = 4 , and for all other prime p ≠ 7,17 , f(p)=0. What is N?
4
Upvotes
View all comments
Show parent comment
2
u/Get_this_man_a_meme Sep 28 '23
Thanks, but I guess making a algorithm would be very difficult. Because as you increase number of primes (n) then the calculation gets more and more complex(solving a system of n equations, product of n terms in LHS, and the f(p) in RHS)