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.
%I A299796 #20 Dec 01 2018 08:25:21 %S A299796 2160,19568,177136,1594304,14348784,129140160,1162261440,10460353136, %T A299796 94143178736,847288609392,7625597484912,68630377364848, %U A299796 617673396283888,5559060566555504,50031545098999664,450283905890997360,4052555153018976240,36472996377170786288 %N A299796 Largest number k that is not the sum of 3 squares and a nonnegative (2n+5)-th power. %C A299796 Subsequence of A004215. %H A299796 Vincenzo Librandi, <a href="/A299796/b299796.txt">Table of n, a(n) for n = 1..1000</a> %F A299796 a(n) = max_{2<=i<=n+1, j>=0} {4^i*(8j+7) : 4^i*(8j+7) < 3^(2n+5)}. %e A299796 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. %t A299796 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 *) %Y A299796 Cf. A004215, A022552, A297970. %K A299796 nonn %O A299796 1,1 %A A299796 _XU Pingya_, Feb 19 2018