A064544 Biquanimous numbers (or biquams): group the digits into two pieces (not necessarily equal or in order) with the same sum.
0, 11, 22, 33, 44, 55, 66, 77, 88, 99, 101, 110, 112, 121, 123, 132, 134, 143, 145, 154, 156, 165, 167, 176, 178, 187, 189, 198, 202, 211, 213, 220, 224, 231, 235, 242, 246, 253, 257, 264, 268, 275, 279, 286, 297, 303, 312, 314, 321, 325, 330, 336, 341, 347, 352, 358
Offset: 0
Examples
143 is in the sequence because its digits {1, 4, 3} may be grouped so that 1+3 = 4.
Links
Programs
-
PARI
is(n) = { my (d=digits(n), s=[0]); for (k=1, #d, s=setunion(apply(v -> v+d[k], s), apply(v -> v-d[k], s))); setsearch(s, 0)>0 } \\ Rémy Sigrist, Jan 23 2021
Comments