|
|
A256080
|
|
Non-palindromic balanced numbers in base 16.
|
|
10
|
|
|
4144, 4416, 4688, 4866, 4960, 5138, 5232, 5410, 5504, 5635, 5682, 5776, 5907, 5954, 6048, 6179, 6226, 6320, 6404, 6451, 6498, 6592, 6676, 6723, 6770, 6864, 6948, 6995, 7042, 7136, 7173, 7220, 7267, 7314, 7408, 7445, 7492, 7539, 7586, 7717, 7764, 7811, 7858, 7942, 7989
(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. Palindromes (A029730) are trivially balanced, therefore they are excluded here.
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.
|
|
LINKS
|
|
|
PROG
|
(PARI) is(n, b=16, d=digits(n, b), o=(#d+1)/2)=!(vector(#d, i, i-o)*d~)&&d!=Vecrev(d)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|