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.

Showing 1-1 of 1 results.

A158563 a(n) = 32*n^2 - 1.

Original entry on oeis.org

31, 127, 287, 511, 799, 1151, 1567, 2047, 2591, 3199, 3871, 4607, 5407, 6271, 7199, 8191, 9247, 10367, 11551, 12799, 14111, 15487, 16927, 18431, 19999, 21631, 23327, 25087, 26911, 28799, 30751, 32767, 34847, 36991, 39199, 41471, 43807, 46207, 48671, 51199, 53791
Offset: 1

Views

Author

Vincenzo Librandi, Mar 21 2009

Keywords

Comments

The identity (32*n^2 - 1)^2 - (256*n^2 - 16)*(2*n)^2 = 1 can be written as a(n)^2 - A158562(n)*A005843(n)^2 = 1. [comment rewritten by R. J. Mathar, Oct 16 2009]
From Omar E. Pol, Apr 21 2021: (Start)
Sequence found by reading the line from 31, in the direction 31, 127, ..., in the rectangular spiral whose vertices are the generalized 18-gonal numbers A274979.
The spiral begins as follows:
46_ _ _ _ _ _ _ _ _ _18
| |
| 0 |
| | _ _ _ _ |
| 1 15
|
51
(End)

Crossrefs

Cf. A274979 (generalized 18-gonal numbers).

Programs

Formula

G.f.: x*(-31-34*x+x^2)/(x-1)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
a(n) = A244082(n) - 1. - Omar E. Pol, Apr 21 2021
From Amiram Eldar, Mar 09 2023: (Start)
Sum_{n>=1} 1/a(n) = (1 - cot(Pi/(4*sqrt(2)))*Pi/(4*sqrt(2)))/2.
Sum_{n>=1} (-1)^(n+1)/a(n) = (cosec(Pi/(4*sqrt(2)))*Pi/(4*sqrt(2)) - 1)/2. (End)
E.g.f.: 1 + exp(x)*(32*x^2 + 32*x - 1). - Elmo R. Oliveira, Jan 25 2025
Showing 1-1 of 1 results.