%I #5 Mar 15 2015 01:34:35
%S 4144,4416,4688,4866,4960,5138,5232,5410,5504,5635,5682,5776,5907,
%T 5954,6048,6179,6226,6320,6404,6451,6498,6592,6676,6723,6770,6864,
%U 6948,6995,7042,7136,7173,7220,7267,7314,7408,7445,7492,7539,7586,7717,7764,7811,7858,7942,7989
%N Non-palindromic balanced numbers in base 16.
%C Here a number is called balanced if the sum of digits weighted by their arithmetic distance from the "center" is zero. Palindromes (A029730) are trivially balanced, therefore they are excluded here.
%C This is the hexadecimal variant of the decimal version A256075 invented by Eric Angelini. See there, and the base-2 version A256082, for further information and examples.See A256090 for the primes in this sequence.
%o (PARI) is(n,b=16,d=digits(n,b),o=(#d+1)/2)=!(vector(#d,i,i-o)*d~)&&d!=Vecrev(d)
%Y Cf. A256082 - A256089, A256075, A256076, A256090.
%K nonn,base
%O 1,1
%A _M. F. Hasler_, Mar 14 2015
|