Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A118591
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A118591 Larger of two consecutive primes whose sum is a square. +0
1
19, 53, 73, 293, 883, 1153, 1931, 2593, 3529, 4051, 6053, 7207, 7451, 15139, 20809, 21647, 24203, 26921, 28807, 34849, 46819, 53147, 56453, 69193, 74507, 83233, 84053, 98573, 103067, 103969, 109517, 110459, 112339, 136247, 149059, 151253 (list; graph; listen)
OFFSET

1,1

EXAMPLE

17 and 19 are consecutive primes whose sum is 36, a square, so 19 is the first

term.

PROGRAM

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

CROSSREFS

Sequence in context: A130413 A063306 A066775 this_sequence A031341 A024848 A072581

Adjacent sequences: A118588 A118589 A118590 this_sequence A118592 A118593 A118594

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), May 08 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