This site is supported by donations to The OEIS Foundation.

# User:Daniel Forgues/Copy and paste

This is a OEIS Wiki user page.
This is not a OEIS Wiki article. If you find this page on any site other than OEIS Wiki, you are viewing a mirror site. Be aware that the page may be outdated and that the user to whom this page belongs may have no personal affiliation with any site other than OEIS Wiki itself. The original page is located at

## Definitions

The whatever numbers are...

## Formulae

The ${\displaystyle \scriptstyle n\,}$th whatever number is given by the formula

${\displaystyle a(n)=~?.\,}$

## Recurrence relation

${\displaystyle a(n)=k_{1}~a(n-1)+k_{2}~a(n-2)+k_{3}~a(n-3),\quad n\geq 3,\,}$

with initial conditions

${\displaystyle a(0)=~?,a(1)=~?,a(2)=~?.\,}$

## Generating function

${\displaystyle G_{\{a(n)\}}(x)=~?.\,}$

## Order of basis

In 1638, Fermat proposed that every positive integer is a sum of at most three triangular numbers, four square numbers, five pentagonal numbers, and ${\displaystyle \scriptstyle k\,}$ ${\displaystyle \scriptstyle k\,}$-gonal numbers. Fermat claimed to have a proof of this result, although Fermat's proof has never been found.[1] Joseph Louis Lagrange proved the square case (known as the four squares theorem) in 1770 and Gauss proved the triangular case in 1796. In 1813, Cauchy finally proved the horizontal generalization that every nonnegative integer can be written as a sum of ${\displaystyle \scriptstyle k\,}$ ${\displaystyle \scriptstyle k\,}$-gonal numbers (known as the polygonal number theorem,) while a vertical (higher dimensional) generalization has also been made (known as the Hilbert-Waring problem.)

A nonempty subset ${\displaystyle \scriptstyle A\,}$ of nonnegative integers is called a basis of order ${\displaystyle \scriptstyle g\,}$ if ${\displaystyle \scriptstyle g\,}$ is the minimum number with the property that every nonnegative integer can be written as a sum of ${\displaystyle \scriptstyle g\,}$ elements in ${\displaystyle \scriptstyle A\,}$. Lagrange’s sum of four squares can be restated as the set ${\displaystyle \scriptstyle \{n^{2}\,|\,n\,=\,0,\,1,\,2,\,\ldots \}\,}$ of nonnegative squares forms a basis of order 4.

Theorem (Cauchy) For every ${\displaystyle \scriptstyle k\,\geq \,3\,}$, the set ${\displaystyle \scriptstyle \{P(k,n)\,|\,n\,=\,0,\,1,\,2,\,\ldots \}\,}$ of ${\displaystyle \scriptstyle k\,}$-gonal numbers forms a basis of order ${\displaystyle \scriptstyle k\,}$, i.e. every nonnegative integer can be written as a sum of ${\displaystyle \scriptstyle k\,}$ ${\displaystyle \scriptstyle k\,}$-gonal numbers.

We note that polygonal numbers are two dimensional analogues of squares. Obviously, cubes, fourth powers, fifth powers, ... are higher dimensional analogues of squares. In 1770, Waring stated without proof that every nonnegative integer can be written as a sum of 4 squares, 9 cubes, 19 fourth powers, and so on. In 1909, Hilbert proved that there is a finite number ${\displaystyle \scriptstyle g(d)\,}$ such that every nonnegative integer is a sum of ${\displaystyle \scriptstyle g(d)\,}$ ${\displaystyle \scriptstyle d\,}$th powers, i.e. the set ${\displaystyle \scriptstyle \{n^{d}\,|\,n\,=\,0,\,1,\,2,\,\ldots \}\,}$ of ${\displaystyle \scriptstyle d\,}$th powers forms a basis of order ${\displaystyle \scriptstyle g(d)\,}$. The Hilbert-Waring problem is concerned with the study of ${\displaystyle \scriptstyle g(d)\,}$ for ${\displaystyle \scriptstyle d\,\geq \,2\,}$. This problem was one of the most important research topics in additive number theory in the last 90 years, and it is still a very active area of research.

## Forward differences

${\displaystyle a(n+1)-a(n)=~?.\,}$

## Partial sums

${\displaystyle \sum _{n=1}^{m}a(n)=~?,\,}$

where ${\displaystyle \scriptstyle t_{m}\,}$ is the ${\displaystyle \scriptstyle m\,}$th triangular number.

## Partial sums of reciprocals

${\displaystyle \sum _{n=1}^{m}{\frac {1}{a(n)}}=~?,\,}$

where ${\displaystyle \scriptstyle H_{m}\,}$ is the ${\displaystyle \scriptstyle m\,}$th harmonic number,[2] ${\displaystyle \scriptstyle \gamma \,}$ is the Euler-Mascheroni constant,[3] and ${\displaystyle \scriptstyle \psi (x)\,}$ is the digamma function.[4] [5]

## Sum of reciprocals

${\displaystyle \sum _{n=1}^{\infty }{\frac {1}{a(n)}}=~?.\,}$

## Tables

### Table of formulae and values

Polygonal numbers associated with constructible polygons (with straightedge and compass) (Cf. A003401) are named in bold.

Polygonal numbers formulae and values
${\displaystyle N_{1}\,}$ Name Formulae

${\displaystyle P_{N_{1}}^{(2)}(n)\,}$

${\displaystyle n\,}$ = 0 1 2 3 4 5 6 7 8 9 10 11 12 A-number
3 Triangular numbers ${\displaystyle \,}$ A??????
4 Square numbers ${\displaystyle \,}$ A??????
5 Pentagonal numbers ${\displaystyle \,}$ A??????
6 Hexagonal numbers ${\displaystyle \,}$ A??????
7 Heptagonal numbers ${\displaystyle \,}$ A??????
8 Octagonal numbers ${\displaystyle \,}$ A??????
9 Nonagonal numbers ${\displaystyle \,}$ A??????
10 Decagonal numbers ${\displaystyle \,}$ A??????
11 Hendecagonal numbers ${\displaystyle \,}$ A??????
12 Dodecagonal numbers ${\displaystyle \,}$ A??????
13 Tridecagonal numbers ${\displaystyle \,}$ A??????
14 Tetradecagonal numbers ${\displaystyle \,}$ A??????
15 Pentadecagonal numbers ${\displaystyle \,}$ A??????
16 Hexadecagonal numbers ${\displaystyle \,}$ A??????
17 Heptadecagonal numbers ${\displaystyle \,}$ A??????
18 Octadecagonal numbers ${\displaystyle \,}$ A??????
19 Nonadecagonal numbers ${\displaystyle \,}$ A??????
20 Icosagonal numbers ${\displaystyle \,}$ A??????
21 Icosihenagonal numbers ${\displaystyle \,}$ A??????
22 Icosidigonal numbers ${\displaystyle \,}$ A??????
23 Icositrigonal numbers ${\displaystyle \,}$ A??????
24 Icositetragonal numbers ${\displaystyle \,}$ A??????
25 Icosipentagonal numbers ${\displaystyle \,}$ A??????
26 Icosihexagonal numbers ${\displaystyle \,}$ A??????
27 Icosiheptagonal numbers ${\displaystyle \,}$ A??????
28 Icosioctagonal numbers ${\displaystyle \,}$ A??????
29 Icosinonagonal numbers ${\displaystyle \,}$ A??????
30 Triacontagonal numbers ${\displaystyle \,}$ A??????

### Table of related formulae and values

Polygonal numbers associated with constructible polygons (with straightedge and compass) (Cf. A003401) are named in bold.

Polygonal numbers related formulae and values
${\displaystyle N_{1}\,}$ Name Generating

function

${\displaystyle G_{P_{N_{1}}^{(2)}}(x)\,}$

Order

of basis[1]

Differences

${\displaystyle P_{N_{1}}^{(2)}(n+1)-\,}$

${\displaystyle P_{N_{1}}^{(2)}(n)\,}$

Partial sums

${\displaystyle \sum _{n=1}^{m}P_{N_{1}}^{(2)}(n)\,}$

Partial sums of reciprocals

${\displaystyle \sum _{n=1}^{m}{1 \over {P_{N_{1}}^{(2)}(n)}}\,}$

Sum of Reciprocals[6][7]

${\displaystyle \sum _{n=1}^{\infty }{1 \over {P_{N_{1}}^{(2)}(n)}}\,}$

3 Triangular numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
4 Square numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
5 Pentagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
6 Hexagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
7 Heptagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
8 Octagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
9 Nonagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
10 Decagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
11 Hendecagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
12 Dodecagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
13 Tridecagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
14 Tetradecagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
15 Pentadecagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
16 Hexadecagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
17 Heptadecagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
18 Octadecagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
19 Nonadecagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
20 Icosagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
21 Icosihenagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
22 Icosidigonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
23 Icositrigonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
24 Icositetragonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
25 Icosipentagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
26 Icosihexagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
27 Icosiheptagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
28 Icosioctagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
29 Icosinonagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$
30 Triacontagonal numbers ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$ ${\displaystyle \,}$

### Table of sequences

Whatever numbers sequences
 m
 Sm(n), n   ≥   0,
sequences
A-number
0 {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...} A??????
1 {0, ...} A??????
2 {0, ...} A??????
3 {0, ...} A??????
4 {0, ...} A??????
5 {0, ...} A??????
6 {0, ...} A??????
7 {0, ...} A??????
8 {0, ...} A??????
9 {0, ...} A??????
10 {0, ...} A??????
11 {0, ...} A??????
12 {0, ...} A??????
13 {0, ...} A??????
14 {0, ...} A??????
15 {0, ...} A??????
16 {0, ...} A??????
17 {0, ...} A??????
18 {0, ...} A??????
19 {0, ...} A??????
20 {0, ...} A??????
21 {0, ...} A??????
22 {0, ...} A??????
23 {0, ...} A??????
24 {0, ...} A??????
25 {0, ...} A??????
26 {0, ...} A??????
27 {0, ...} A??????
28 {0, ...} A??????
29 {0, ...} A??????
30 {0, ...} A??????

#### Table of sequences (copy and paste)

{| class="wikitable" cellspacing="0" cellpadding="4px" style="margin: 1em auto; border-collapse: collapse; border: 1px solid darkgray; background: #f9f9f9; color: black; empty-cells: show; text-align: left;"
|+ '''Whatever numbers sequences'''
|- style="background: #f2f2f2; color: black; text-align: center;"
! width="25" style="text-align: center;" | {{math|''m''|tex = m|&}}
! style="text-align: center;" | {{math|''S''{{sub|''m''}}(''n''), ''n'' {{rel|ge}} 0,|tex = S_m(n), n \ge 0,|&}} sequences
! width="75" style="text-align: center;" | [[A-number]]
|-
| style="text-align: center;" | '''0'''
| {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''1'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''2'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''3'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''4'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''5'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''6'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''7'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''8'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''9'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''10'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''11'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''12'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''13'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''14'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''15'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''16'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''17'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''18'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''19'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''20'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''21'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''22'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''23'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''24'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''25'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''26'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''27'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''28'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''29'''
| {0, ...}
| style="text-align: center;" | A??????
|-
| style="text-align: center;" | '''30'''
| {0, ...}
| style="text-align: center;" | A??????
|-
|}


## Sections (copy and paste)


<!--=== Future?

*
*
*

== Notes ==
<references/>

== References ==

*
*
*

*
*
*

Future? ===-->



## Notes

1. Weisstein, Eric W., Fermat's Polygonal Number Theorem, from MathWorld—A Wolfram Web Resource. [http://mathworld.wolfram.com/FermatsPolygonalNumberTheorem.html]
2. Sondow, Jonathan and Weisstein, Eric W., Harmonic Number, From MathWorld--A Wolfram Web Resource.
3. Weisstein, Eric W., Euler-Mascheroni Constant, from MathWorld—A Wolfram Web Resource. [http://mathworld.wolfram.com/Euler-MascheroniConstant.html]
4. Weisstein, Eric W., Digamma Function, from MathWorld—A Wolfram Web Resource. [http://mathworld.wolfram.com/DigammaFunction.html]
5. Weisstein, Eric W., Polygamma Function, from MathWorld—A Wolfram Web Resource. [http://mathworld.wolfram.com/PolygammaFunction.html]
6. Downey, Lawrence M., Ong, Boon W., and Sellers, James A., Beyond the Basel Problem: Sums of Reciprocals of Figurate Numbers, 2008.
7. PSYCHEDELIC GEOMETRY, INVERSE POLYGONAL NUMBERS SERIES.