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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A108656 Least a(n)>0 such that a(n-2)*n^2+a(n-1)*n+a(n) is a prime. 2
2, 3, 2, 3, 2, 7, 2, 3, 2, 11, 4, 5, 2, 1, 2, 5, 10, 1, 2, 3, 2, 3, 2, 1, 2, 5, 4, 17, 6, 13, 4, 1, 2, 5, 8, 11, 10, 3, 2, 9, 2, 11, 6, 3, 4, 15, 6, 1, 6, 1, 4, 5, 2, 11, 4, 1, 10, 3, 36, 7, 16, 1, 10, 15, 12, 5, 14, 5, 4, 1, 14, 5, 40, 1, 2, 11, 8, 11, 24, 17, 2, 1, 12, 5, 8, 23, 10, 29, 8, 1, 4, 5 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Corresponding primes in A108657.

EXAMPLE

a(1)=2, a(2)=3 and a(3)=2 because 2*3^2+3*3+2=29 is aprime; a(4)=3, a(5)=2 and a(6)=7 because 3*6^2+2*6+7=127 is a prime.

MATHEMATICA

a=2; b=3; s={a, b}; Do[c=Prime[PrimePi[a*n^2+b*n]+1]-a*n^2-b*n; AppendTo[s, c]; a=b; b=c, {n, 3, 200}]; A108656=s

CROSSREFS

Cf. A108657.

Sequence in context: A087317 A086489 A015886 * A164962 A119880 A075019

Adjacent sequences:  A108653 A108654 A108655 * A108657 A108658 A108659

KEYWORD

nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Jun 14 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 14:50 EST 2012. Contains 206050 sequences.