login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A045134 Numbers n with property that in base 4 representation the numbers of 2's and 3's are 0 and 1, respectively. 1
3, 7, 12, 13, 19, 23, 28, 29, 48, 49, 52, 53, 67, 71, 76, 77, 83, 87, 92, 93, 112, 113, 116, 117, 192, 193, 196, 197, 208, 209, 212, 213, 259, 263, 268, 269, 275, 279, 284, 285, 304, 305, 308, 309, 323, 327, 332, 333, 339, 343, 348 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

FORMULA

From Robert Israel, Sep 20 2016: (Start)

a(m+(n+1)*2^n) = a(m) + 4^(n+1) for 1 <= m <= (n+1)*2^n.

a(m+(n+1)*2^n) = A000695(m-(n+1)*2^n-1) + 3*4^(n+1) for (n+1)*2^n < m <= (n+2)*2^n. (End)

MAPLE

N:= 5: # to get all terms < 4^(N+1)

B0:= {0, 1}:

B1:= {3}:

for d from 1 to N do

  B1:= B1 union map(`+`, B0, 3*4^d) union map(`+`, B1, 4^d);

  B0:= B0 union map(`+`, B0, 4^d);

od:

sort(convert(B1, list)); # Robert Israel, Sep 20 2016

MATHEMATICA

Select[Range[400], DigitCount[#, 4, 2]==0&&DigitCount[#, 4, 3]==1&] (* Harvey P. Dale, Dec 25 2012 *)

CROSSREFS

Cf. A000695.

Sequence in context: A056772 A024614 A230109 * A215631 A081695 A290955

Adjacent sequences:  A045131 A045132 A045133 * A045135 A045136 A045137

KEYWORD

nonn,base

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 September 26 06:16 EDT 2021. Contains 347664 sequences. (Running on oeis4.)