login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A074328 Numbers n such that p(1+n^2)-p(n^2)=2, where p(j) is the j-th prime. 0
7, 8, 9, 12, 15, 16, 22, 25, 27, 34, 53, 83, 85, 88, 95, 107, 108, 144, 149, 187, 196, 223, 234, 238, 249, 255, 268, 274, 315, 324, 350, 355, 358, 367, 386, 410, 411, 416, 424, 436, 440, 445, 450, 462, 469, 471, 481, 494, 501, 509, 511, 517, 522, 549, 554, 564 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

n=25 is here because 626-th and 625-th primes are twin: 4639-4637=2.

MATHEMATICA

t=Table[0, {250}]; t1=Table[0, {250}]; s=0; k=0; Do[s=Prime[1+n^2]-Prime[n^2]; If[s==2, k=k+1; t[[k]]=n; t1[[k]]=Prime[n^2]; Print[{k, n, Prime[n^2]}]], {n, 1, 2500}] t t1

CROSSREFS

Sequence in context: A138580 A192050 A045158 * A174185 A170933 A037369

Adjacent sequences:  A074325 A074326 A074327 * A074329 A074330 A074331

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Aug 21 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 00:09 EST 2012. Contains 205978 sequences.