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.

A299796 Largest number k that is not the sum of 3 squares and a nonnegative (2n+5)-th power.

Original entry on oeis.org

2160, 19568, 177136, 1594304, 14348784, 129140160, 1162261440, 10460353136, 94143178736, 847288609392, 7625597484912, 68630377364848, 617673396283888, 5559060566555504, 50031545098999664, 450283905890997360, 4052555153018976240, 36472996377170786288
Offset: 1

Views

Author

XU Pingya, Feb 19 2018

Keywords

Comments

Subsequence of A004215.

Examples

			2160 is not the sum of 3 squares and a nonnegative 7th power, and all integers larger than 2160 can be represented as the sum of 3 squares and a nonnegative 7th power (see A297970). Thus a(1) = 2160.
		

Crossrefs

Programs

  • Mathematica
    a[n_]:= Max@Table[4^k (8 Floor[3^(2 n + 5) / 2^(2 k + 3) - 7 / 8] + 7),  {k, 2, n + 1}] Table[a[n], {n, 18}] (* XU Pingya, Nov 30 2018 *)

Formula

a(n) = max_{2<=i<=n+1, j>=0} {4^i*(8j+7) : 4^i*(8j+7) < 3^(2n+5)}.