Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A120627
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A120627 Least positive k such that both prime(n)+k and prime(n)+2k are prime, or 0 if no such k exists. +0
2
0, 2, 6, 6, 6, 24, 6, 12, 18, 12, 6, 30, 6, 18, 6, 18, 12, 6, 6, 18, 54, 24, 24, 12, 6, 6, 24, 30, 42, 18, 12, 18, 30, 12, 24, 6, 36, 18, 6, 54, 84, 30, 36, 18, 30, 12, 30, 54, 6, 42, 18, 12, 36, 6, 6, 48, 12, 6, 30, 36, 24, 54, 30, 36, 18, 36, 18, 30, 6, 24, 48, 30, 6, 24, 30, 18, 30 (list; graph; listen)
OFFSET

1,2

COMMENT

Note that 6 divides a(n) for n>2. - T. D. Noe (noe(AT)sspectra.com), Aug 29 2006

Van der Corput's theorem: There are infinitely many positive integers n, k such that n, n+nk, n+2nk are all prime. - Jonathan Vos Post (jvospost3(AT)gmail.com), Apr 17 2007

REFERENCES

A. G. van der Corput, Uber Summen von Primzahlen und Primzahlquadraten," Math. Ann., 116 (1939) 1-50.

LINKS

T. D. Noe, Table of n, a(n) for n=1..10000

Terence Tao, Simons Lecture I: Structure and randomness in Fourier analysis and number theory, April 2007.

EXAMPLE

a(3)=6 because prime(3)=5 and 5+6 and 5+12 are primes.

MATHEMATICA

f[n_] := Block[{p = Prime[n], k = 1}, If[n == 1, 0, While[ ! PrimeQ[p + 2k] || ! PrimeQ[p + 4k], k++ ]; 2k] ]; Table[f[n], {n, 80}] (*Chandler*)

Join[{0}, Table[p=Prime[n]; k=2; While[ !PrimeQ[p+k] || !PrimeQ[p+2k], k=k+2]; k, {n, 2, 100}]] - T. D. Noe (noe(AT)sspectra.com), Aug 29 2006

CROSSREFS

Cf. A000040.

Sequence in context: A071888 A117217 A161331 this_sequence A089879 A087651 A078579

Adjacent sequences: A120624 A120625 A120626 this_sequence A120628 A120629 A120630

KEYWORD

easy,nonn

AUTHOR

Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), Aug 25 2006

EXTENSIONS

Edited and extended by Ray Chandler (rayjchandler(AT)sbcglobal.net) and T. D. Noe (noe(AT)sspectra.com), Aug 28 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 20 00:58 EST 2009. Contains 171054 sequences.


AT&T Labs Research