login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A204093 Numbers whose set of base-10 digits is {0,6}. 15
0, 6, 60, 66, 600, 606, 660, 666, 6000, 6006, 6060, 6066, 6600, 6606, 6660, 6666, 60000, 60006, 60060, 60066, 60600, 60606, 60660, 60666, 66000, 66006, 66060, 66066, 66600, 66606, 66660, 66666, 600000, 600006, 600060, 600066, 600600, 600606, 600660, 600666 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = 6 * A007088(n).
MATHEMATICA
Map[FromDigits, Tuples[{0, 6}, 6]] (* Paolo Xausa, Oct 30 2023 *)
PROG
(Haskell)
a204093 n = a204093_list !! n
a204093_list = map (* 6) a007088_list
(Python)
def a(n): return int(bin(n)[2:].replace('1', '6'))
print([a(n) for n in range(40)]) # Michael S. Branicky, Jun 06 2021
CROSSREFS
Sequence in context: A098185 A173904 A308413 * A136927 A335202 A061475
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Jan 10 2012
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 14:38 EDT 2024. Contains 371254 sequences. (Running on oeis4.)