OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
MATHEMATICA
cp[x_, y_] := Count[Table[PrimeQ[i], {i, x, y}], True] Do[s=Prime[n]; s1=Prime[n+1]; If[PrimeQ[s+32]&& Equal[cp[s+1, s+d-1], 7], Print[s]], {n, 1, 1000000}]
Select[Partition[Prime[Range[98*10^5]], 9, 1], Last[#]-First[#]==32&] [[All, 1]] (* Harvey P. Dale, Sep 12 2017 *)
PROG
(PARI) lista(pmax) = {my(ps = primes(9)); forprime(p = prime(10), pmax, ps = concat(vecextract(ps, "^1"), p); if(ps[9] - ps[1] == 32, print1(ps[1], ", "))); } \\ Amiram Eldar, Aug 15 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jul 29 2003
EXTENSIONS
Definition clarified by Harvey P. Dale, Sep 12 2017
a(19)-a(27) from Amiram Eldar, Aug 15 2024
STATUS
approved