Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A064711
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A064711 Numbers n such that n^2 + prime(n) is a prime. +0
1
1, 2, 4, 8, 12, 14, 22, 30, 36, 38, 44, 50, 54, 60, 66, 74, 78, 84, 90, 96, 106, 134, 144, 156, 162, 168, 180, 188, 216, 222, 224, 234, 260, 264, 272, 308, 324, 336, 344, 366, 368, 374, 378, 390, 402, 406, 422, 466, 468, 476, 492, 498, 502, 516, 604, 624, 636 (list; graph; listen)
OFFSET

1,2

LINKS

Harry J. Smith, Table of n, a(n) for n=1,...,1000

EXAMPLE

2 is in the sequence because 2^2 + Prime(2) = 4 + 3 = 7 is a prime.

MATHEMATICA

Select[ Range[ 1000 ], PrimeQ[ #^2 + Prime[ # ] ] & ]

PROGRAM

(PARI) { n=0; for (m=1, 10^9, if (isprime(m^2 + prime(m)), write("b064711.txt", n++, " ", m); if (n==1000, break)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Sep 23 2009]

CROSSREFS

Sequence in context: A024911 A024906 A160162 this_sequence A050865 A124395 A024908

Adjacent sequences: A064708 A064709 A064710 this_sequence A064712 A064713 A064714

KEYWORD

easy,nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Oct 13 2001

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 5 17:24 EST 2009. Contains 170342 sequences.


AT&T Labs Research