Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A064370
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A064370 Zero, together with positive numbers n such that the n-th prime - n is a square. +0
5
0, 1, 2, 12, 100, 118, 152, 190, 212, 258, 352, 462, 690, 741, 1285, 1396, 1417, 2119, 2318, 2603, 3370, 3777, 4073, 4155, 4485, 4522, 4600, 4719, 5317, 5446, 6697, 6748, 6985, 7144, 7595, 9492, 9551, 12010, 12985, 13438, 13850, 14672, 14739, 16510 (list; graph; listen)
OFFSET

1,3

LINKS

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

PROGRAM

(PARI) j=[]; for(n=0, 20000, if(n==0 || issquare(prime(n)-n), j=concat(j, n))); j

(PARI) { n=0; default(primelimit, 20000000); for (m=0, 10^9, if (m==0 || issquare(prime(m) - m), write("b064370.txt", n++, " ", m); if (n==300, break)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Sep 13 2009]

CROSSREFS

Sequence in context: A012548 A012550 A009816 this_sequence A138421 A000888 A151392

Adjacent sequences: A064367 A064368 A064369 this_sequence A064371 A064372 A064373

KEYWORD

easy,nonn

AUTHOR

Jason Earls (zevi_35711(AT)yahoo.com), Sep 26 2001

EXTENSIONS

Edited by Harry J. Smith and N. J. A. Sloane, Sep 13 2009

Corrected my PARI program for offset=1 by Harry J. Smith (hjsmithh(AT)sbcglobal.net), Sep 13 2009

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 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research