Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A124417
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A124417 a(n) = least k such that 2^i*k+1 is prime for 1<=i<=n. +0
7
1, 1, 9, 765, 765, 8325, 8325, 7757430, 428547690, 102764221560 (list; graph; listen)
OFFSET

1,3

MATHEMATICA

k = 1; Do[If[n < 3, inc = 1, If[n == 3, inc = 3, inc = 15]; ]; If[Mod[k, inc] > 0, k = k + inc - Mod[k, inc]]; While[Nand @@ PrimeQ[Table[2^j, {j, n}]*k + 1], k += inc]; Print[k], {n, 1, 15}] (*Chandler*)

CROSSREFS

Cf. A005097, A123998, A124041, A124412-A124416.

Sequence in context: A122251 A015481 A145183 this_sequence A159356 A091057 A137065

Adjacent sequences: A124414 A124415 A124416 this_sequence A124418 A124419 A124420

KEYWORD

nonn,more

AUTHOR

Artur Jasinski (grafix(AT)csl.pl), Nov 02 2006

EXTENSIONS

Edited by Ray Chandler (rayjchandler(AT)sbcglobal.net), Nov 21 2006

a(10) from Farideh Firoozbakht, Nov 25 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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research