Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A064712
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A064712 Numbers n such that n^2 - prime(n) is a prime. +0
1
6, 10, 12, 18, 24, 28, 30, 40, 42, 48, 60, 76, 96, 104, 108, 114, 138, 146, 160, 166, 174, 176, 186, 190, 196, 198, 208, 230, 250, 258, 262, 270, 292, 296, 318, 320, 334, 336, 348, 356, 358, 362, 370, 372, 376, 382, 400, 420, 444, 454, 462, 472, 488, 494, 504 (list; graph; listen)
OFFSET

1,1

LINKS

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

EXAMPLE

6 is in the sequence because 6^2 - Prime(6) = 36 - 13 = 23 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("b064712.txt", n++, " ", m); if (n==1000, break)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Sep 23 2009]

CROSSREFS

Sequence in context: A114520 A046288 A076763 this_sequence A098669 A046363 A101086

Adjacent sequences: A064709 A064710 A064711 this_sequence A064713 A064714 A064715

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 November 30 13:13 EST 2009. Contains 167758 sequences.


AT&T Labs Research