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.

A309779 Squares that can be expressed as the sum of two positive squares but not as the sum of three positive squares.

Original entry on oeis.org

25, 100, 400, 1600, 6400, 25600, 102400, 409600, 1638400, 6553600, 26214400, 104857600, 419430400, 1677721600, 6710886400, 26843545600, 107374182400, 429496729600, 1717986918400, 6871947673600, 27487790694400, 109951162777600, 439804651110400, 1759218604441600
Offset: 1

Views

Author

Bernard Schott, Aug 17 2019

Keywords

Comments

This sequence comes from the study of A309778, exactly, A309778(n) = 2 iff n^2 belongs to this sequence here.
According to Draxl link, a(n) is a term of this sequence iff a(n) = 5^2 * 4^(n-1) with n >= 1.
This sequence is a subsequence of A219222 whose terms are all of the form b_0 * 4^k with b_0 in A051952, hence, the only primitive term of this sequence here is 25.

Examples

			25 = 5^2 = 3^2 + 4^2,
100 = 10^2 = 6^2 + 8^2,
5^2 * 4^(n-1) = (5 * 2^(n-1))^2 = (3 * 2^(n-1))^2 + (4 * 2^(n-1))^2, but these terms are not the sum of three positive squares.
		

Crossrefs

Intersection of A000290 and A219222.

Programs

Formula

a(n) = 5^2 * 4^(n-1) with n >= 1.
a(n) = 4*a(n-1) for n > 1. G.f.: 25*x/(1 - 4*x). - Chai Wah Wu, Aug 29 2019
a(n) = 25 * A000302(n-1). - Alois P. Heinz, Aug 29 2019
E.g.f.: 25*(exp(4*x) - 1)/4. - Stefano Spezia, Oct 28 2023