Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A144753
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A144753 A positive integer n is included if n is a palindrome in binary and n has a prime number of 1's in its binary representation. +0
2
3, 5, 7, 9, 17, 21, 31, 33, 65, 73, 93, 107, 127, 129, 257, 273, 313, 341, 381, 403, 443, 471, 513, 1025, 1057, 1137, 1193, 1273, 1317, 1397, 1453, 1571, 1651, 1707, 1831, 2047, 2049, 4097, 4161, 4321, 4433, 4593, 4681, 4841, 4953, 5189, 5349, 5461, 5709 (list; graph; listen)
OFFSET

1,1

COMMENT

Each term of this sequence is in both sequence A006995 and sequence A052294.

LINKS

Leroy Quet, Home Page (listed in lieu of email address)

EXAMPLE

21 in binary is 10101. This binary representation is a palindrome. And it contains three 1's and three is a prime. So 21 is included in the sequence.

MATHEMATICA

okQ[n_] := Module[{idn2 = IntegerDigits[n, 2]}, (idn2 == Reverse[idn2]) && PrimeQ[First[DigitCount[n, 2]]]]; Select[Range[10000], okQ] [From Harvey P. Dale (hpd1(AT)nyu.edu), Sep 23 2008]

CROSSREFS

A144752, A006995, A052294

Sequence in context: A064411 A146556 A084229 this_sequence A057482 A114136 A025072

Adjacent sequences: A144750 A144751 A144752 this_sequence A144754 A144755 A144756

KEYWORD

base,nonn

AUTHOR

Leroy Quet Sep 20 2008

EXTENSIONS

Additional terms provided; Mathematica program provided Harvey P. Dale (hpd1(AT)nyu.edu), Sep 23 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research