A068897 Squares containing 2k digits in which the sum of the first k digits = that of the rest.
5041, 108900, 122500, 128164, 137641, 155236, 173056, 185761, 203401, 206116, 216225, 287296, 288369, 302500, 324900, 342225, 368449, 423801, 434281, 459684, 485809, 515524, 531441, 540225, 675684, 698896, 720801, 737881, 749956, 779689
Offset: 1
Examples
5041 is a member with 5+0 = 4+1.
Links
- Andrew Howroyd, Table of n, a(n) for n = 1..10000
Programs
-
PARI
isok(n)={my(d=digits(n)); my(k=#d); k%2==0 && vecsum(d[1..k/2]) == vecsum(d[k/2+1..k])} lista(n)={my(L=List(), k=0); while(#L
Andrew Howroyd, Sep 19 2024
Extensions
Corrected and extended by Harvey P. Dale, Mar 31 2002
Offset changed by Andrew Howroyd, Sep 19 2024