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!)
A051335 Euclid-Mullin sequence (A000945) with initial value a(1)=127 instead of a(1)=2. 33
127, 2, 3, 7, 5, 149, 19, 41, 23899, 139, 43, 761, 281, 17, 53, 2551, 23, 20149, 100720363856036298033578901613089271, 31, 179, 11, 13, 523, 282995646721, 2871347, 83, 10744429, 1031, 427773048135533, 97, 78506876242349, 67 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
a[1]=127; 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;
first(m)={my(v=vector(m)); v[1]=127; for(i=2, m, v[i]=spf(1+prod(j=1, i-1, v[j]))); v; } /* Anders Hellström, Aug 18 2015 */
CROSSREFS
Sequence in context: A281478 A212927 A300785 * A186995 A145586 A340344
KEYWORD
easy,nonn
AUTHOR
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 March 19 01:57 EDT 2024. Contains 370952 sequences. (Running on oeis4.)