login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A051312 Euclid-Mullin sequence (A000945) with initial value a(1)=19 instead of a(1)=2. 3
19, 2, 3, 5, 571, 271, 457, 397, 1123, 23, 103, 42572757267735264511, 313, 17, 16013177, 7951, 1259, 41, 1531, 11, 83, 53, 67, 7, 21397, 13, 1619, 1274209367143, 433, 37, 491, 29, 658837, 135202080527, 163, 587, 31, 2797, 35286479 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

MATHEMATICA

a[1]=19; a[n_] := First[ Flatten[ FactorInteger[ 1+Product[ a[ j ], {j, 1, n-1} ] ] ] ]; Array[a, 10]

PROG

(PARI) spf(n)=factor(n)[1, 1]

first(m)=my(v=vector(m)); v[1]=19; for(i=2, m, v[i]=spf(1+prod(j=1, i-1, v[j]))); v; \\ Anders Hellström, Aug 31 2015

CROSSREFS

Cf. A000945, A000946, A005265, A005266.

Sequence in context: A040354 A040357 A040358 * A256635 A040359 A040360

Adjacent sequences:  A051309 A051310 A051311 * A051313 A051314 A051315

KEYWORD

nonn

AUTHOR

Labos Elemer

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 15 13:20 EST 2019. Contains 329149 sequences. (Running on oeis4.)