login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A350887 Let X,Y,Z be positive integer solutions to X^2 = Sum_{j=0..Y-1} (1+Z*j)^2, where solutions for Y or Z < 1 are excluded. This sequence lists the values for Y sorted by X. 3
4, 24, 4, 64, 49, 9, 4, 50, 484, 3249, 81, 361, 49, 4, 289, 64, 16, 3938, 5041, 4, 36, 568, 441, 121, 4761, 33, 1936, 9, 49, 25872, 4, 64, 8257, 24, 361, 12024 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A generalization of the cannonball problem for pyramids with a slope of 1/A350888(n). In the cannonball problem, a square pyramid of stacked balls shall contain a square number of balls in total. Each layer of such a pyramid consists of a square number of balls, in the classic case the top layer has one ball, the layers below contain adjacent square numbers of balls. For this sequence we ignore the fact that if adjacent layers do not alternate between odd and even squares the stacking will become difficult at least for sphere-like objects. We start in the top layer always with one ball, but will skip a constant count of square numbers between each layer. This results in pyramids which slope <= 1. a(n) is the number of layers needed to stack such a pyramid. As this sequence is only a list of solutions, n has no known relation to its definition.
This sequence contains only numbers which appear in A186699, too. A number which is in A186699, does not appear in this sequence if it is of the form: 2^m*p where p is a prime of the form 12*k+1 or 12*k-1. There are also some perfect squares like 25 excluded, as these would only provide valid solutions in the case of A350888(n) = 0, which is not part of the sequence definition.
LINKS
Thomas Scheuerle, Recursive solution formulas.
FORMULA
A350886(n)^2 = A350888(n)^2*binomial(2*a(n), 3)/4 + 2*A350888(n)*binomial(a(n), 2) + a(n).
A350886(n)^2 = c*((b*(4*b*c^2-(6*c-2)*b + 12*(c-1)) + 12)/12), with c = a(n) and b = A350888(n). Expanded to see factors more clearly.
A350886(n)^2 = c*b^2*( ((1/b) + (c-1)/2)^2 + (c^2-1)/12 ). Shorter form of above.
EXAMPLE
a(1) = 4 and A350886(1) = 54, A350888(1) = 14: 54^2 = 1^2 + 15^2 + 29^2 + 43^2.
a(2) = 24 and A350886(2) = 70, A350888(2) = 1: 70^2 = 1^2 + 2^2 + 3^2 + ... + 23^2 + 24^2. This is the classic solution for the cannonball problem.
PROG
(PARI)
sqtest(n, c)={q=1; r=1; for(t=2, c, t+=n; r+=1; q+=(t*t); if(issquare(q), break)); [q, r]}
z=500000; b=[; ]; for(n=0, z, r=sqtest(n, z); if(issquare(r[1]), b=concat(b, [sqrtint(r[1]); r[2]]))); b=vecsort(b, 1); vector(#b, k, b[2, k]) \\ Last valid value for z=500000 is 49.
CROSSREFS
Cf. A350886 (squareroot of pyramid), A350888 (denominator of slope).
Cf. A000330, A000447, A024215, A024381 (square pyramidal numbers for slope 1, 1/2, 1/3, 1/4).
Cf. A076215, A001032, A134419, A106521. Some related problems.
Cf. A186699.
Sequence in context: A319145 A024543 A010294 * A216923 A355992 A233149
KEYWORD
nonn,more
AUTHOR
Thomas Scheuerle, Feb 25 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 11 21:50 EDT 2024. Contains 374234 sequences. (Running on oeis4.)