login
A256090
Non-palindromic balanced primes in base 16.
2
6451, 7717, 8513, 8963, 9601, 10501, 10867, 11317, 11411, 12227, 13829, 14561, 15461, 15733, 16183, 16529, 16979, 18517, 19333, 19427, 19699, 20149, 20233, 20327, 22483, 22567, 23027, 23561, 23833, 25717, 26083, 26261, 26711, 27077, 27527, 27799, 27893, 28867, 29411, 29683, 30133, 30677, 30949, 31033, 31849
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. Palindromic primes (A029732 in base 16) are trivially balanced, therefore they are excluded here.
These are the primes in A256080. This is the hexadecimal variant of the decimal version A256076 suggested by Eric Angelini.
PROG
(PARI) is(n, b=16, d=digits(n, b), o=(#d+1)/2)=!(vector(#d, i, i-o)*d~)&&d!=Vecrev(d)&&isprime(n)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Mar 14 2015
STATUS
approved