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

A067529
n - 5^k is a prime for all k > 0 and n > 5^k.
2
7, 8, 10, 12, 16, 18, 22, 24, 28, 36, 42, 48, 66, 72, 78, 84, 108, 114, 132, 156, 162, 198, 204, 276, 282, 288, 318, 336, 492, 504, 546, 582, 612, 624, 666, 864, 882, 1044, 1134, 1218, 1242, 1326, 1452, 1998, 2136, 2472, 2922, 3234, 3948, 4032, 4572, 4914, 6342
OFFSET
1,1
COMMENTS
Is the sequence finite?
The last term appears to be 7726572. - T. D. Noe, Nov 23 2004
LINKS
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
Cf. A039669 (n-2^k is prime).
Sequence in context: A120175 A291668 A175222 * A080113 A243078 A048588
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Feb 17 2002
EXTENSIONS
More terms from Sascha Kurz, Mar 19 2002
STATUS
approved