cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A256080 Non-palindromic balanced numbers in base 16.

Original entry on oeis.org

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
Offset: 1

Views

Author

M. F. Hasler, Mar 14 2015

Keywords

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.

Crossrefs

Programs

  • PARI
    is(n,b=16,d=digits(n,b),o=(#d+1)/2)=!(vector(#d,i,i-o)*d~)&&d!=Vecrev(d)