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.

A345339 a(n) = 18*n + 20.

Original entry on oeis.org

20, 38, 56, 74, 92, 110, 128, 146, 164, 182, 200, 218, 236, 254, 272, 290, 308, 326, 344, 362, 380, 398, 416, 434, 452, 470, 488, 506, 524, 542, 560, 578, 596, 614, 632, 650, 668, 686, 704, 722, 740, 758, 776, 794, 812, 830, 848, 866, 884, 902, 920, 938, 956, 974, 992, 1010
Offset: 0

Views

Author

Bernard Schott, Jun 14 2021

Keywords

Comments

The largest even integer which cannot be written as the sum of 2n composite odd integers, for n >= 1, is 18*n + 20, proved by the Shippensburg University Mathematical Problem Solving Group (see Links).

Examples

			For n = 1, a(1) = A118081(14) = 38.
		

Crossrefs

Programs

  • Mathematica
    Table[18*n + 20, {n, 0, 55}] (* Amiram Eldar, Jun 14 2021 *)
    LinearRecurrence[{2,-1},{20,38},60] (* Harvey P. Dale, Jan 15 2023 *)

Formula

a(n) = 18*n + 20.
G.f.: 2*(10 - x)/(1 - x)^2. - Stefano Spezia, Jun 14 2021
From Elmo R. Oliveira, Dec 08 2024: (Start)
E.g.f.: 2*exp(x)*(10 + 9*x).
a(n) = 2*a(n-1) - a(n-2) for n >= 2. (End)