login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A202778 Least k such that x*k + 1 produces primes for x = 1..n and composite for x = n + 1. 0
4, 1, 2, 330, 10830, 25410, 8224860, 512820, 12960606120, 434491727670, 1893245380950, 71023095613470, 878232256181280, 11429352906540438870 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
REFERENCES
Wacław Sierpiński, Czym sie zajmuje teoria liczb. Warsaw: PW "Wiedza Powszechna", 1957, pp. 88-89.
LINKS
MATHEMATICA
Table[k = 1; While[i = 1; While[i <= n && PrimeQ[i*k + 1], i++]; i <= n || PrimeQ[i*k + 1], k++]; k, {n, 8}]
CROSSREFS
Another version of A088250.
Sequence in context: A004161 A303141 A246070 * A025016 A355499 A094244
KEYWORD
more,nonn
AUTHOR
EXTENSIONS
a(14) from Giovanni Resta, Mar 31 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)