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.

A213671 The odd part of n^2 - n + 2.

Original entry on oeis.org

1, 1, 1, 7, 11, 1, 11, 29, 37, 23, 7, 67, 79, 23, 53, 121, 137, 77, 43, 191, 211, 29, 127, 277, 301, 163, 11, 379, 407, 109, 233, 497, 529, 281, 149, 631, 667, 11, 371, 781, 821, 431, 113, 947, 991, 259, 541, 1129, 1177, 613, 319, 1327, 1379, 179
Offset: 1

Views

Author

Vladimir Shevelev, Mar 03 2013

Keywords

Comments

The first composite term s of this sequence which is not multiple of a prime term appeared before s is a(245) = 29891 = 71*421 - neither of 71, 421 are terms before a(245). - Peter J. C. Moses, Mar 03 2013
The probability that n points uniformly distributed in (or on) a sphere are in the same hemisphere is (n^2-n+2)/2^n, for which this is the numerator. - Charles R Greathouse IV, Sep 18 2013

Crossrefs

Programs

Formula

a(n) = A000265(n^2-n+2). - R. J. Mathar, Mar 10 2013