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”).

A074808
Let f(n) be 2n + POD(n) + 1 if n is even, otherwise 2n - POD(n) - 1, where POD(n) is the product of digits of n. Sequence gives smallest number requiring n iterations to reach a prime.
0
2, 1, 13, 8, 9, 34, 86, 51, 113, 348, 193, 152, 80, 199, 736, 579, 448, 502, 446, 281, 339, 532, 1521, 760, 438, 371, 971, 524, 1642, 988, 1613, 6856, 4494, 5146, 2793, 1348, 3916, 5531, 6544, 3570, 7982, 6415, 3211, 1633, 11634, 9462
OFFSET
1,1
EXAMPLE
a(3) = 13 because 13 -(1)-> 22 -(2)-> 49 -(3)-> 61.
CROSSREFS
Sequence in context: A167584 A112226 A192795 * A113097 A032001 A358205
KEYWORD
base,nonn
AUTHOR
Jason Earls, Sep 08 2002
STATUS
approved