|
|
A256084
|
|
Non-palindromic balanced numbers in base 4.
|
|
1
|
|
|
76, 114, 141, 179, 206, 264, 280, 296, 312, 332, 348, 364, 380, 386, 402, 418, 434, 454, 470, 486, 502, 521, 537, 553, 569, 589, 605, 621, 637, 643, 659, 675, 691, 711, 727, 743, 759, 778, 794, 810, 826, 846, 862, 878, 894, 1060, 1096, 1140, 1176, 1221, 1256, 1320, 1329, 1356, 1400, 1410, 1436, 1481, 1490, 1516, 1554, 1580
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Here a number is called balanced if the sum of digits weighted by their arithmetic distance from the "center" is zero.
This is the base-4 variant of the decimal version A256075 invented by Eric Angelini. See there, and the base-2 version A256082, for further information and examples.
|
|
LINKS
|
|
|
PROG
|
(PARI) is(n, b=4, d=digits(n, b), o=(#d+1)/2)=!(vector(#d, i, i-o)*d~)&&d!=Vecrev(d)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|