login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A222813 Numbers whose binary representation is palindromic and in which all runs of 0's and 1's have length at least 2. 2
3, 7, 15, 31, 51, 63, 99, 127, 195, 231, 255, 387, 455, 511, 771, 819, 903, 975, 1023, 1539, 1651, 1799, 1935, 2047, 3075, 3171, 3315, 3591, 3687, 3855, 3999, 4095, 6147, 6371, 6643, 7175, 7399, 7695, 7967, 8191, 12291, 12483, 12771, 13107, 13299, 14343, 14535, 14823, 15375, 15567, 15903, 16191, 16383, 24579 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

These are the decimal representations of A061851.

LINKS

N. J. A. Sloane, Table of n, a(n) for n = 1..608

EXAMPLE

51 (base 10) = 110011 (base 2), which is a palindrome and has three runs all of length 2.

MATHEMATICA

brpalQ[n_]:=Module[{idn2=IntegerDigits[n, 2]}, idn2==Reverse[idn2] && Min[ Length/@ Split[idn2]]>1]; Select[Range[25000], brpalQ] (* Harvey P. Dale, May 21 2014 *)

CROSSREFS

Cf. A061851.

Sequence in context: A212315 A043729 A137170 * A151338 A229006 A023424

Adjacent sequences:  A222810 A222811 A222812 * A222814 A222815 A222816

KEYWORD

nonn,base

AUTHOR

N. J. A. Sloane, Mar 11 2013

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified June 28 19:36 EDT 2017. Contains 288840 sequences.