login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A182481 a(n) is the least k such that 6*k*n-1 and 6*k*n+1 are twin primes, and a(n)=0, if such k does not exist. 7
1, 1, 1, 3, 1, 2, 1, 4, 2, 1, 3, 1, 4, 5, 2, 2, 1, 1, 2, 2, 7, 5, 1, 3, 1, 2, 5, 16, 2, 1, 7, 1, 1, 5, 2, 2, 9, 1, 8, 1, 5, 9, 4, 5, 1, 3, 1, 4, 3, 2, 7, 1, 20, 5, 2, 8, 14, 1, 3, 21, 43, 4, 6, 3, 5, 8, 4, 9, 2, 1, 3, 1, 14, 15, 9, 30, 1, 4, 22, 7, 20, 21, 9 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
Conjecture: a(n)>0; equivalently, for every n, the arithmetic progression {6*k*n-1} contains infinitely many lessers of twin primes (A001359).
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
MATHEMATICA
Table[k = 0; While[! (PrimeQ[6*k*n - 1] && PrimeQ[6*k*n + 1]), k++]; k, {n, 100}] (* T. D. Noe, May 02 2012 *)
PROG
(PARI) a(n)=my(k); n*=6; until(isprime(n*k++-1)&&isprime(n*k+1), ); k \\ Charles R Greathouse IV, May 01 2012
CROSSREFS
Sequence in context: A370220 A177343 A124036 * A066743 A257915 A257904
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, May 01 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 04:56 EDT 2024. Contains 371767 sequences. (Running on oeis4.)