Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A108656
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A108656 Least a(n)>0 such that a(n-2)*n^2+a(n-1)*n+a(n) is a prime. +0
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; listen)
OFFSET

1,1

COMMENT

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 this_sequence A164962 A119880 A075019

Adjacent sequences: A108653 A108654 A108655 this_sequence A108657 A108658 A108659

KEYWORD

nonn

AUTHOR

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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 8 08:31 EST 2009. Contains 170430 sequences.


AT&T Labs Research