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

A158061
a(1)=2, a(n+1) is the smallest prime > n^smallest digit of a(n).
1
2, 2, 5, 251, 5, 3137, 7, 823547, 67, 531457, 11, 13, 13, 17, 17, 17, 17, 19, 19, 23, 401, 2, 487, 279847, 577, 9765629, 677, 387420499, 2, 853, 27011, 2, 1031, 2, 1163, 37, 46663, 50671, 2, 1523, 41, 43, 74093, 2, 1949, 47, 4477457, 4879687, 5308417, 2
OFFSET
1,1
EXAMPLE
2, 2(>1=1^2), 5(>4=2^2), 251(>241=3^5), 5(>4=4^1), 3137(>3125=5^5), 7(>6=6^1).
MATHEMATICA
nxt[{n_, a_}]:={n+1, NextPrime[(n+1)^Min[IntegerDigits[a]]]}; Join[ {2}, NestList[ nxt, {1, 2}, 50][[All, 2]]] (* Harvey P. Dale, Nov 18 2021 *)
CROSSREFS
Sequence in context: A353534 A036739 A158311 * A379906 A270546 A163119
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
More terms from R. J. Mathar, Mar 17 2009
Edited by Charles R Greathouse IV, Mar 25 2010
STATUS
approved