Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A063789
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A063789 Largest prime gap between n^2 and (n + 1)^2. +0
1
1, 2, 2, 4, 2, 4, 6, 6, 8, 4, 6, 6, 10, 12, 10, 6, 14, 10, 8, 10, 12, 12, 10, 10, 12, 10, 8, 12, 14, 10, 12, 18, 22, 12, 18, 34, 18, 12, 14, 20, 12, 16, 18, 22, 14, 24, 16, 22, 14, 22, 14, 14, 18, 28, 20, 26, 28, 20, 12, 16, 22, 20, 22, 24, 30, 18, 24, 18, 30, 16, 28, 24, 30, 32 (list; graph; listen)
OFFSET

1,2

LINKS

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

EXAMPLE

Primes between 64=8^2 and 81=(8+1)^2: 67, 71, 73 and 79; so 79-73=6=a(8)

PROGRAM

(PARI) { for (n=1, 2000, p=nextprime(n^2); q=precprime((n + 1)^2); a=0; r=0; while (r<q, r=nextprime(p+1); g=r-p; p=r; if (g>a, a=g)); write("b063789.txt", n, " ", a) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Aug 31 2009]

CROSSREFS

Sequence in context: A059214 A091820 A140821 this_sequence A106264 A152423 A035096

Adjacent sequences: A063786 A063787 A063788 this_sequence A063790 A063791 A063792

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Aug 17 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