A099069 Numbers n such that n = prime(d_1*d_2*...*d_k) - phi(d_1 + d_2 + ... + d_k) where d_1 d_2 ... d_k is the decimal expansion of n.
1, 2, 3, 19, 35497
Offset: 1
Examples
35497 is in the sequence because 35497 = prime(3*5*4*9*7) - phi(3 + 5 + 4 + 9 + 7).
Links
- C. Rivera, Puzzle 279The Prime Puzzles & Problems connection.
Programs
-
Mathematica
Do[h=IntegerDigits[n];l=Length[h];If[ !MemberQ[h, 0]&&n==Prime[Product[h[[k]], {k, l}]]-EulerPhi[Sum[h[[k]], {k, l}]], Print[n]], {n, 6000000}]
Comments