login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A071258 a(1) = 4; a(n) = smallest composite number of form k*a(n-1) + 1 with k > 1. 1
4, 9, 28, 57, 115, 231, 694, 1389, 2779, 5559, 16678, 33357, 66715, 133431, 400294, 800589, 1601179, 3202359, 9607078, 19214157, 38428315, 76856631, 153713263, 307426527, 614853055, 1229706111, 3689118334, 7378236669, 14756473339 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Harvey P. Dale, Table of n, a(n) for n = 0..1000

MATHEMATICA

nxt[n_]:=Module[{k=2}, While[PrimeQ[k*n+1], k++]; k*n+1]; NestList[nxt, 4, 30] (* Harvey P. Dale, Mar 26 2014 *)

CROSSREFS

Cf. A061766, A061092, A059411.

Sequence in context: A239668 A101973 A244968 * A120333 A000368 A232765

Adjacent sequences:  A071255 A071256 A071257 * A071259 A071260 A071261

KEYWORD

nonn

AUTHOR

Amarnath Murthy, May 30 2002

EXTENSIONS

More terms from Vladeta Jovovic, Jun 03 2002

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 16 06:48 EST 2021. Contains 340204 sequences. (Running on oeis4.)