

A051335


EuclidMullin 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

Robert Price, Table of n, a(n) for n = 1..47


MATHEMATICA

a[1]=127; a[n_] := First[ Flatten[ FactorInteger[ 1+Product[ a[ j ], {j, 1, n1} ] ] ] ]; 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, i1, v[j]))); v; } /* Anders HellstrÃ¶m, Aug 18 2015 */


CROSSREFS

Cf. A000945, A000946, A005265, A005266.
Sequence in context: A281478 A212927 A300785 * A186995 A145586 A180352
Adjacent sequences: A051332 A051333 A051334 * A051336 A051337 A051338


KEYWORD

easy,nonn


AUTHOR

Labos Elemer


STATUS

approved



