login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (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. 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.
LINKS
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
Sequence in context: A074978 A105377 A248998 * A067928 A166223 A206538
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Mar 14 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 18 16:16 EDT 2024. Contains 374388 sequences. (Running on oeis4.)