|
|
A046500
|
|
Smallest prime with multiplicative persistence n.
|
|
11
|
|
|
2, 11, 29, 47, 277, 769, 8867, 186889, 2678789, 26899889, 3778888999, 277777788888989
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
The persistence of a number is the number of times you need to multiply the digits together before reaching a single digit.
|
|
LINKS
|
|
|
EXAMPLE
|
47 -> 28 -> 16 -> 6 has persistence 3.
|
|
MATHEMATICA
|
a[n_]:=Length[NestWhileList[Times@@IntegerDigits[#]&, n, #>9&]]-1; t={}; i=1; Do[While[a[p=Prime[i]]!=n, i++]; AppendTo[t, p], {n, 0, 9}]; t (* Jayanta Basu, Jun 02 2013 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more,hard,nice
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|