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!)
A347141 a(1) = 11; for n > 1, a(n) is the smallest prime factor of 2^a(n-1) - 1. 0
11, 23, 47, 2351, 4703 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
PrimeNet, M4703.
EXAMPLE
2^11 - 1 = 23*89, so the next term after 11 is 23.
MATHEMATICA
a[1] = 11; a[n_] := a[n] = Module[{p = 3}, While[PowerMod[2, a[n - 1], p] != 1, p = NextPrime[p]]; p]; Array[a, 5] (* Amiram Eldar, Aug 19 2021 *)
CROSSREFS
Cf. A049479.
Sequence in context: A096342 A066179 A217566 * A278869 A272628 A141093
KEYWORD
nonn,hard,more
AUTHOR
J. Lowell, Aug 19 2021
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 14:51 EDT 2024. Contains 371749 sequences. (Running on oeis4.)