Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A138205
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A138205 Least number k such that n^2+k and n^2+k+2 are the smallest twin primes between squares n^2 and (n+1)^2, or 0 if there is no such k. +0
1
0, 1, 2, 1, 4, 5, 10, 7, 0, 1, 16, 5, 10, 1, 2, 13, 22, 23, 0, 19, 20, 37, 40, 23, 16, 0, 0, 25, 16, 0, 58, 7, 2, 0, 4, 5, 58, 7, 0, 7, 16, 23, 22, 13, 2, 13, 28, 5, 0, 49, 56, 7, 0, 53, 94, 31, 2, 7, 46, 71, 46, 7, 32, 31, 4, 65, 28, 13, 26, 31, 58, 47, 88, 1, 14, 73, 0, 5, 28, 49, 8, 37 (list; graph; listen)
OFFSET

1,3

COMMENT

Checking up to n=10^6, it appears that a(n)=0 for only n=1 and the n in A091592.

LINKS

T. D. Noe, Table of n, a(n) for n=1..10000

EXAMPLE

a(7)=10 because (59,61) is the smallest twin-prime pair between 49 and 64.

MATHEMATICA

Table[n2=n^2; k=1; While[k<2n+1 && !(PrimeQ[n2+k] && PrimeQ[n2+k+2]), k++ ]; If[k==2n+1, 0, k], {n, 10^4}]

CROSSREFS

Cf. A091591 (number of twin prime pairs between n^2 and (n+1)^2).

Sequence in context: A125156 A119808 A021470 this_sequence A137224 A155944 A091232

Adjacent sequences: A138202 A138203 A138204 this_sequence A138206 A138207 A138208

KEYWORD

nonn

AUTHOR

T. D. Noe (noe(AT)sspectra.com), Mar 06 2008

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 4 23:11 EST 2009. Contains 170347 sequences.


AT&T Labs Research