Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A118590
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A118590 Larger of two consecutive primes whose positive difference is a square. +0
1
3, 11, 17, 23, 41, 47, 71, 83, 101, 107, 113, 131, 167, 197, 227, 233, 281, 311, 317, 353, 383, 401, 443, 461, 467, 491, 503, 617, 647, 677, 743, 761, 773, 827, 857, 863, 881, 887, 911, 941, 971, 1013, 1091, 1097, 1217, 1283, 1301, 1307, 1427, 1433, 1451, 1487 (list; graph; listen)
OFFSET

1,1

COMMENT

Superset of A031935 and A031505. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 08 2008]

EXAMPLE

7 and 11 are consecutive primes. 11-7 = 4 a square, so 11 is the second term in the table.

PROGRAM

(PARI) g(n) = for(x=2, n, if(issquare(prime(x)-prime(x-1)), print1(prime(x)", ")))

CROSSREFS

Sequence in context: A019397 A108328 A079020 this_sequence A136082 A106083 A113803

Adjacent sequences: A118587 A118588 A118589 this_sequence A118591 A118592 A118593

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), May 07 2006

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 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research