login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A066894 prime(2n) - prime(n) = 0 (mod n). 0
1, 2, 4, 6, 18, 42, 44, 49, 246, 257, 259, 272, 283, 294, 25284, 62648, 62664, 62673, 62700, 62701, 158706, 404835, 404859, 405119, 405448, 405451, 2630908, 2630929, 2631249, 2631303, 2631368, 2631414, 2631509, 2631517, 2631576, 2631666, 17405852, 44932936 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

a(21) > 100000. - Michel Marcus, Nov 20 2013

LINKS

Table of n, a(n) for n=1..38.

EXAMPLE

prime(2*2) - prime(2) = 7 - 3 = 4 that is equal to 0 mod 2, so 2 is in the sequence.

PROG

isok(n) = (prime(2*n)-prime(n)) % n == 0; \\ Michel Marcus, Nov 20 2013

CROSSREFS

Cf. A072473.

Sequence in context: A098853 A023149 A085146 * A233919 A111115 A195328

Adjacent sequences:  A066891 A066892 A066893 * A066895 A066896 A066897

KEYWORD

nonn

AUTHOR

Benoit Cloitre, Jan 24 2002

EXTENSIONS

a(15)-a(20) from Michel Marcus, Nov 20 2013

a(21)-a(38) from Donovan Johnson, Nov 20 2013

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 15 16:02 EDT 2020. Contains 336505 sequences. (Running on oeis4.)