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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A063013 Numbers where k-th digit from right is either 0 or k. 1
0, 1, 20, 21, 300, 301, 320, 321, 4000, 4001, 4020, 4021, 4300, 4301, 4320, 4321, 50000, 50001, 50020, 50021, 50300, 50301, 50320, 50321, 54000, 54001, 54020, 54021, 54300, 54301, 54320, 54321, 600000, 600001, 600020, 600021, 600300 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Table of n, a(n) for n=0..36.

FORMULA

a(n) = a(n-2^[log2(n)])+[log2(n)+1]*10^[log2(n)]

a(n)=Sum_{k>=0} A030308(n,k)*A053541(k+1). - From Philippe Deléham, Oct 15 2011.

EXAMPLE

a(11) = 4021 since 11 is written as 1011 in binary and the 1's can then be replaced by the relevant digits

CROSSREFS

Cf. A063012, A053541.

Sequence in context: A082260 A041834 A219798 * A028931 A063012 A041836

Adjacent sequences:  A063010 A063011 A063012 * A063014 A063015 A063016

KEYWORD

base,nonn,fini

AUTHOR

Henry Bottomley, Jul 04 2001

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 February 23 23:56 EST 2018. Contains 299595 sequences. (Running on oeis4.)