login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A133977
Home primes whose homeliness is greater than 11.
12
378997, 747521, 777643, 2333797, 2337397, 2337691, 3127979, 3127997, 3136607, 3173761, 3373547, 3373907, 3374729, 3377999, 3378317, 3379829, 3574657, 3639997, 3733967, 3746507, 3759263, 3774161, 3777419, 3784463, 3789293
OFFSET
1,1
COMMENTS
Number of terms < 10^n: 0, 0, 0, 0, 0, 3, 36, ....
MATHEMATICA
lst = {}; f[n_] := FromDigits@ Flatten[ IntegerDigits@ Table[ #[[1]], {#[[2]]}] & /@ FactorInteger@n, 2]; h[n_] := NestWhileList[f@# &, n, !PrimeQ@# &, 1, 28]; Do[p = h[n][[ -1]]; If[ PrimeQ@p && p < 10^7 && p != n, Print[{n, p}]; AppendTo[lst, p]], {n, 2, 1000}];
d = 12 - 2; lsu = {}; Do[ If[ lst[[n]] == lst[[n + d]], AppendTo[ lsu, lst[[n]] ]], {n, 188004 - d - 1}]; Take[ Union@ lsu, 30]
KEYWORD
nonn,base
AUTHOR
Robert G. Wilson v, Sep 30 2007
STATUS
approved