Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A071558
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A071558 Smallest k such that nk+1 and nk-1 are simultaneously primes. +0
2
4, 2, 2, 1, 6, 1, 6, 9, 2, 3, 18, 1, 24, 3, 2, 12, 6, 1, 12, 3, 2, 9, 6, 3, 6, 12, 4, 15, 12, 1, 42, 6, 6, 3, 12, 2, 54, 6, 8, 6, 30, 1, 24, 15, 4, 3, 6, 4, 18, 3, 2, 6, 120, 2, 12, 48, 4, 6, 18, 1, 258, 21, 14, 3, 30, 3, 24, 15, 2, 6, 18, 1, 84, 27, 2, 3, 6, 4, 132, 3, 10, 15, 54, 5, 12, 12 (list; graph; listen)
OFFSET

1,1

LINKS

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

PROGRAM

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

CROSSREFS

Cf. A071256

Sequence in context: A123402 A088570 A102888 this_sequence A136709 A137239 A136714

Adjacent sequences: A071555 A071556 A071557 this_sequence A071559 A071560 A071561

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 December 6 22:55 EST 2009. Contains 170429 sequences.


AT&T Labs Research