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

A093552
a(n) is the smallest number m such that m-k is product of k+1 primes for k=0,1,2,...,n.
6
2, 5, 47, 107, 71999, 392279, 305778479, 24405534719, 899133243623
OFFSET
0,1
COMMENTS
Each term of this sequence is prime.
EXAMPLE
a(5)=392279 because:
392279 is prime;
392279-1 = 2*196139;
392279-2 = 3*229*571;
392279-3 = 2*2*281*349;
392279-4 = 5*5*13*17*71;
392279-5 = 2*3*3*19*31*37;
392279 is the smallest number m such that m-k is product of k+1 primes for k=0,1,2,3,4 & 5.
MATHEMATICA
Table[m = 1; While[Table[Plus @@ Last /@ FactorInteger[Prime[m] - k], {k, 0, n}] != Range[1, n + 1], m++]; Prime[m], {n, 0, 5}] (* Robert Price, Jun 09 2019 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Farideh Firoozbakht, Apr 14 2004
EXTENSIONS
a(6) corrected by Mike Oakes, Jun 20 2012
a(7) from Zak Seidov, Apr 23 2017
a(8) from Giovanni Resta, Apr 27 2017
STATUS
approved