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.

A166080 Nonprimes of the form (k^2+1)/2.

Original entry on oeis.org

1, 25, 85, 145, 221, 265, 365, 481, 545, 685, 841, 925, 1105, 1405, 1513, 1625, 1985, 2245, 2665, 2813, 2965, 3281, 3445, 3785, 3961, 4141, 4325, 4705, 4901, 5305, 5513, 5725, 5941, 6161, 6385, 6613, 6845, 7081, 7565, 7813, 8065, 8321, 8845, 9113, 9385
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Oct 06 2009

Keywords

Comments

Or, 1 together with composite numbers of the form i^2+(i+1)^2. See A012132. - N. J. A. Sloane, Feb 29 2020

Examples

			a(1)=(1^2+1)/2=1; a(2)=(7^2+1)/2=25.
		

Crossrefs

Programs

  • Mathematica
    Select[(Range[0,150]^2+1)/2,IntegerQ[#]&&!PrimeQ[#]&] (* Harvey P. Dale, Aug 09 2025 *)

Formula

a(n) = 2n^2 + O(n^2/log n). - Charles R Greathouse IV, Mar 21 2014

Extensions

Replaced 6261 by 6161 - R. J. Mathar, Oct 07 2009