cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A056902 Numbers n where 36n^2+24n+7 is prime (sorted by absolute values with negatives before positives).

Original entry on oeis.org

0, -1, 1, -2, 2, -4, -5, 6, 8, -9, 10, -11, -12, 12, -13, 15, -16, -18, -19, 20, -22, 22, 23, 24, -26, 26, -27, -29, -30, 36, 38, 40, -41, 41, -43, -46, -48, -50, -51, -53, -54, 54, -57, 58, 59, -61, 61, 66, -68, 69, -71, -72, 72, 73, 76, 78, -79, -81, -85, 85, 87
Offset: 0

Views

Author

Henry Bottomley, Jul 06 2000

Keywords

Comments

36m^2+24m+7=(6m+2)^2+3 which is three more than a square

Examples

			a(3)=-2 since 36*(-2)^2+24*(-2)+7=144-48+7=103 which is prime
		

Crossrefs

This sequence and formula generate all but the first prime of the form k^2+3, i.e. A049423.

Formula

36*a(n)^2+24*a(n)+7=A049423(n+1).