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

A108316
Least k such that (k*n)^2 + k*n -1 and (k*n)^2 + k*n +1 are twin primes.
0
2, 1, 1, 2, 1, 1, 3, 1, 6, 2, 6, 2, 2, 27, 1, 11, 9, 3, 2, 1, 1, 3, 6, 1, 2, 1, 2, 20, 7, 24, 5, 9, 2, 107, 13, 8, 8, 1, 9, 14, 1, 9, 5, 4, 9, 3, 3, 6, 14, 1, 3, 12, 10, 1, 9, 10, 8, 5, 1, 12
OFFSET
1,1
EXAMPLE
(2*1)^2 + 2*1 -1 = 5, (2*1)^2 + 2*1 +1 = 7, 5 and 7 twin primes so k(1)=2
CROSSREFS
Sequence in context: A284315 A262928 A228429 * A322426 A335438 A145574
KEYWORD
nonn
AUTHOR
Pierre CAMI, Jul 25 2005
STATUS
approved