OFFSET
1,1
COMMENTS
Is the sequence finite?
The last term appears to be 7726572. - T. D. Noe, Nov 23 2004
LINKS
Michel Marcus, Table of n, a(n) for n = 1..66
Walter E. Mientka and Roger C. Weitzenkamp, On f-plentiful numbers, Journal of Combinatorial Theory, Volume 7, Issue 4, December 1969, Pages 374-377
EXAMPLE
624 is a term as 624-5, 624-25,624-125 or 619,599 and 499 are primes.
MATHEMATICA
lst={}; Do[k=1; While[p=n-5^k; p>0 && PrimeQ[p], k++ ]; If[p<=0, AppendTo[lst, n]], {n, 6, 10^7}]; lst (T. D. Noe)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Feb 17 2002
EXTENSIONS
More terms from Sascha Kurz, Mar 19 2002
STATUS
approved