Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A071559
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A071559 Smallest k such that n^2+k^2 and n+k are simultaneously primes. +0
1
1, 1, 2, 1, 2, 1, 10, 3, 4, 1, 6, 7, 10, 9, 2, 1, 2, 5, 10, 3, 10, 15, 8, 5, 4, 5, 2, 13, 30, 11, 6, 5, 8, 9, 2, 1, 30, 3, 34, 1, 20, 5, 10, 9, 2, 15, 20, 13, 4, 11, 16, 7, 20, 25, 4, 11, 2, 3, 14, 13, 10, 17, 38, 9, 2, 1, 22, 5, 10, 3, 26, 7, 28, 5, 4, 21, 12, 25, 4, 9, 20, 15, 18, 19, 12 (list; graph; listen)
OFFSET

1,3

PROGRAM

(PARI) for(n=1, 100, s=1; while(isprime(s^2+n^2)*isprime(s+n)==0, s++); print1(s, ", "))

CROSSREFS

Sequence in context: A124781 A124151 A110179 this_sequence A071560 A097749 A126906

Adjacent sequences: A071556 A071557 A071558 this_sequence A071560 A071561 A071562

KEYWORD

easy,nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), May 30 2002

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 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research