login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A093490 a(0) = 2; for n > 0, a(n) is the least prime of the form k*n*a(n-1) - 1. 3
2, 3, 5, 29, 347, 3469, 41627, 1748333, 27973327, 1007039771, 70492783969, 7754206236589, 2605413295493903, 6503111585552781887, 4825308796480164160153, 1881870430627264022459669 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Harvey P. Dale, Table of n, a(n) for n = 0..200

EXAMPLE

a(3) = 29, a(4) = 3*4*29 - 1 = 347.

MATHEMATICA

nxt[{n_, a_}]:=Module[{k=1}, While[!PrimeQ[k(n+1)a-1], k++]; {n+1, k(n+1)a- 1}]; NestList[nxt, {0, 2}, 20][[All, 2]] (* Harvey P. Dale, Feb 27 2020 *)

PROG

(PARI) v=[2]; for(n=2, 20, k=1; while(!isprime(p=k*(n-1)*v[n-1]-1), k++); v=concat(v, p)); v (* Rick L. Shepherd, Jan 31 2005 *)

CROSSREFS

Cf. A103342 (corresponding k values), A091771, A091879.

Sequence in context: A062167 A279189 A107451 * A073309 A226124 A110389

Adjacent sequences:  A093487 A093488 A093489 * A093491 A093492 A093493

KEYWORD

nonn

AUTHOR

Amarnath Murthy, Apr 16 2004

EXTENSIONS

More terms from Rick L. Shepherd and Ryan Propper, Jan 31 2005

Edited by N. J. A. Sloane at the suggestion of Andrew S. Plewe, May 14 2007

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 October 19 23:51 EDT 2021. Contains 348095 sequences. (Running on oeis4.)