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

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A045051 Numbers n with property that in base 4 representation the numbers of 0's and 2's are 2 and 4, respectively. 1
2090, 2186, 2210, 2216, 2570, 2594, 2600, 2690, 2696, 2720, 4266, 4650, 4746, 4770, 4776, 6186, 6282, 6306, 6312, 6666, 6690, 6696, 6786, 6792, 6816, 8298, 8346, 8358, 8361, 8363, 8366, 8378, 8426, 8490, 8586, 8610 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Enrique Pérez Herrero, Table of n, a(n) for n = 1..60000

MATHEMATICA

Select[Range[4^4, 4^7], {#4, #2} == {2, 4} & @@ DigitCount[#, 4] &] (* Michael De Vlieger, Dec 03 2017 *)

PROG

(Python)

import numpy as np

for a in range(10000):

    x = np.base_repr(a, base=4)

    if(x.count("0") == 2 and x.count("2") == 4):

        print(a)

# Enrique Pérez Herrero, Dec 03 2017

CROSSREFS

Sequence in context: A179124 A206606 A089159 * A102504 A270761 A015293

Adjacent sequences:  A045048 A045049 A045050 * A045052 A045053 A045054

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 December 10 12:30 EST 2019. Contains 329895 sequences. (Running on oeis4.)