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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A032804 Set of base 4 digits of n is {2,3}. 4
2, 3, 10, 11, 14, 15, 42, 43, 46, 47, 58, 59, 62, 63, 170, 171, 174, 175, 186, 187, 190, 191, 234, 235, 238, 239, 250, 251, 254, 255, 682, 683, 686, 687, 698, 699, 702, 703, 746, 747, 750, 751, 762, 763, 766, 767, 938, 939, 942 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Or, no base 2 digit of n is a base 4 digit of n.

LINKS

Robert Israel, Table of n, a(n) for n = 1..10000

Index entries for 10-automatic sequences.

FORMULA

a(0) = 0, a(2*n) = 4*a(n-1) + 3, a(2*n+1) = 4*a(n)+2. - Robert Israel, May 05 2014

MAPLE

A032804:= proc(n) option remember;

   if n::even then 4*procname(n/2-1)+3

   else 4*procname((n-1)/2)+2

   fi

end proc;

A032804(0):=0; # Robert Israel, May 05 2014

MATHEMATICA

Select[Range[1000], Min[IntegerDigits[#, 4]]>1&] (* Harvey P. Dale, Dec 23 2013 *)

CROSSREFS

Sequence in context: A250174 A285622 A081706 * A248407 A047473 A270474

Adjacent sequences:  A032801 A032802 A032803 * A032805 A032806 A032807

KEYWORD

nonn,base,easy

AUTHOR

Clark Kimberling

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 20 07:42 EDT 2019. Contains 321345 sequences. (Running on oeis4.)