[go: up one dir, main page]

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

Search: a055737 -id:a055737
     Sort: relevance | references | number | modified | created      Format: long | short | data
Number of prime quadruples < 10^n, where a prime quadruple means 4 successive primes {p, p', p'', p'''} with p''' = p + 8.
+10
1
0, 3, 6, 13, 39, 167, 900, 4769, 28389, 180530, 1209319, 8398279, 60070591, 441296837, 3314576488
OFFSET
1,2
REFERENCES
J. Recreational Math., vol. 23, No. 2, 1991, p. 97.
EXAMPLE
For n=2 the quadruples are 3,5,7,11; 5,7,11,13; 11,13,17,19.
MAPLE
with(numtheory): x := 1229; t1 := [seq(ithprime(i), i=1..x)]; c := 0: for i from 1 to x-3 do if t1[i]+8 = t1[i+3] then c := c+1; fi; od: c; # the values of x to use are given by A006880.
MATHEMATICA
x=168; a=Table[ Prime[ n ], {n, 1, x} ]; c=0; Do[ If[ a[ [ n ] ]+8==a[ [ n+2 ] ], c++ ], {n, 1, x-3} ]; # the values of x to use are given by A006880.
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Jun 09 2000
EXTENSIONS
a(8)-a(9) from Jud McCranie, Oct 08 2000.
a(10)-a(12) from Bert Dobbelaere, Apr 17 2019
a(13)-a(15) from Charles R Greathouse IV, Feb 12 2022
STATUS
approved

Search completed in 0.003 seconds