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!)
A112278 a(0) = 1, a(1) = 2; thereafter a(n) = prime(mod(a(n-1),100))+1. 0
1, 2, 4, 8, 20, 72, 360, 282, 422, 80, 410, 30, 114, 44, 194, 492, 480, 410, 30, 114, 44, 194, 492, 480, 410, 30, 114, 44, 194, 492, 480, 410, 30, 114, 44, 194, 492, 480, 410, 30, 114, 44, 194, 492, 480, 410, 30, 114, 44, 194, 492, 480, 410, 30, 114, 44, 194, 492, 480 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Starting with the tenth term, cycles every seven terms. - Robert G. Wilson v, Dec 13 2005
REFERENCES
Zak Seidov, Posting to Seq Fan mailing list, Nov 28 2005
LINKS
EXAMPLE
a(2) = prime(2) + 1 = 3+1 = 4, a(3) = prime(4) + 1 = 19+1 = 20, and so on. But remember to reduce the primes mod 100 when they get large. - N. J. A. Sloane, Feb 24 2023
MATHEMATICA
Join[{1}, NestList[Prime[Mod[#, 100]]+1&, 2, 100]] (* Harvey P. Dale, Feb 24 2023 *)
CROSSREFS
Sequence in context: A006407 A100447 A241891 * A309868 A059731 A001315
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 24 2005
EXTENSIONS
More terms from Robert G. Wilson v, Dec 13 2005
Revised by N. J. A. Sloane, Feb 24 2023
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 16 00:00 EDT 2024. Contains 371696 sequences. (Running on oeis4.)