OFFSET
1,1
REFERENCES
Joe Roberts, Lure of the Integers, Math. Assoc. America, 1992, p. 83.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Harvey P. Dale)
Andrew Granville, Sophie Germain's theorem for prime pairs p, 6p+1, J. Number Theory 27 (1987), no. 1, 63-72.
FORMULA
a(n) = (A051644(n)-1)/6.
MATHEMATICA
Select[Prime@Range[150], PrimeQ[6# + 1] &] (* Ray Chandler, Mar 14 2007 *)
PROG
(Magma) [n: n in [0..1000] | IsPrime(n) and IsPrime(6*n+1)]; // Vincenzo Librandi, Nov 18 2010
(PARI) isok(k) = isprime(k) && isprime(6*k+1); \\ Amiram Eldar, Feb 24 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Extended by Ray Chandler, Mar 14 2007
STATUS
approved
