A346067 Smallest prime that is the n-th power analog of Keith numbers.
2, 37, 17, 7, 109, 36013476739, 31, 80051, 71, 97, 107, 13093, 103, 127, 107, 163, 991, 181, 157, 181, 199, 193, 271, 31663, 211, 307, 307, 5318989651, 673, 8297, 331, 811, 359, 463
Offset: 1
Examples
a(2) = 37 because 37^2 = 1369. Then 1+3+6+9 = 19 and 3+6+9+19 = 37.
Links
- Carlos Rivera, Puzzle 1043. Another puzzle about Keith numbers, The Prime Puzzles & Problems Connection.
Crossrefs
Programs
-
Mathematica
KeithPowQ[m_Integer,n_]:=Module[{b=IntegerDigits[m^n],s,k=0},s=Total[b];While[s
A007629 *)
Comments