OFFSET
1,1
COMMENTS
s(k) and s(k) + 14 are always Sierpiński numbers for k >= 0.
Motivated by the question: What are the consecutive Sierpiński numbers with difference 14 that are also consecutive primes?
How does the graph of this sequence look for larger values of n?
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
8 is a term because 7523267 + 11184810*8 = 97001747 and 97001761 are consecutive (provable) Sierpiński numbers and they are also consecutive primes.
MATHEMATICA
Select[Range@ 2000, And[PrimeQ@ #, NextPrime@ # == # + 14] &@(7523267 + 11184810 #) &] (* Michael De Vlieger, Mar 30 2016 *)
cpQ[n_]:=Module[{c=7523267+11184810n}, PrimeQ[c]&&NextPrime[c]==c+14]; Select[Range[ 2000], cpQ] (* Harvey P. Dale, Oct 07 2023 *)
PROG
(PARI) lista(nn) = for(n=0, nn, if(ispseudoprime(s=7523267 + 11184810*n) && nextprime(s+1) == (s+14), print1(n, ", ")));
(PARI) is(n)=my(s=11184810*n+7523267); isprime(s) && isprime(s+14) && !isprime(s+6) && !isprime(s+12) \\ Charles R Greathouse IV, Mar 31 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, Mar 30 2016
STATUS
approved
