%I #5 Mar 15 2015 01:36:01
%S 536,608,680,706,752,778,824,850,899,922,971,994,1049,1072,1121,1144,
%T 1193,1219,1265,1291,1337,1363,1412,1435,1484,1507,1562,1585,1634,
%U 1657,1706,1732,1778,1804,1850,1876,1925,1948,1997
%N Non-palindromic balanced numbers in base 8.
%C Here a number is called balanced if the sum of digits weighted by their arithmetic distance from the "center" is zero. Since palindromes (A029803) are trivially balanced, they are excluded here.
%C This is the base-8 variant of the decimal version A256075 invented by Eric Angelini. See there, and the base-2 version A256082, for further information and examples.
%o (PARI) is(n,b=8,d=digits(n,b),o=(#d+1)/2)=!(vector(#d,i,i-o)*d~)&&d!=Vecrev(d)
%Y Cf. A256082 - A256089, A256075, A256080, A029803.
%K nonn,base
%O 1,1
%A _M. F. Hasler_, Mar 14 2015
|