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!)
A051333 Euclid-Mullin sequence (A000945) with initial value a(1)=257 instead of a(1)=2. 1
257, 2, 5, 3, 11, 84811, 31, 7, 1560842137471, 20113, 17, 83, 47, 339491, 7814561, 109, 2897, 16103, 70921439, 199, 1381, 34987489236924545883729121, 43, 241, 37, 491, 28468486915378661, 8803, 29, 25212511, 2311, 67, 3929, 1151, 192697, 797, 157, 23, 1489, 13 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
a[1]=257; a[n_] := First[ Flatten[ FactorInteger[ 1+Product[ a[ j ], {j, 1, n-1} ] ] ] ]; Array[a, 10]
PROG
(PARI) spf(n)=my(f=factor(n)[1, 1]); f \\ A020639
first(m)=my(v=vector(m)); v[1]=257; for(i=2, m, v[i]=spf(1+prod(j=1, i-1, v[j]))); v \\ Anders Hellström, Dec 07 2015
CROSSREFS
Sequence in context: A195529 A004217 A351309 * A273775 A182912 A276233
KEYWORD
nonn
AUTHOR
EXTENSIONS
a(22)-a(27) from Robert Price, Jul 09 2015
a(28)-a(40) from Tyler Busby, Oct 12 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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)