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

 

Logo

Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098780 First n numbers in binary representation concatenated in reverse order. 4
1, 5, 29, 157, 1437, 13725, 128413, 1176989, 20051357, 355595677, 6261175709, 109340390813, 1896046785949, 32682372363677, 560447953696157, 9567647208437149, 315812421869630877, 10692105963331253661 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Indranil Ghosh, Table of n, a(n) for n = 1..412

FORMULA

a(n) = n*A000079(A070939(a(n-1))) + a(n-1); a(1) = 1.

a(n) = n*2^(1 + floor(log_2(a(n-1)))) + a(n-1); a(1) = 1.

EXAMPLE

a(4) = (4 3 2 1) -> (100 11 10 1) -> 10011101 -> 157.

PROG

(Python)

def A098780(n):

....s=""

....for i in range(n, 0, -1):

........s+=bin(i)[2:]

....return int(s, 2) # Indranil Ghosh, Jan 28 2017

CROSSREFS

Cf. A007088, A047778.

Sequence in context: A060926 A239715 A260752 * A222700 A272940 A146178

Adjacent sequences:  A098777 A098778 A098779 * A098781 A098782 A098783

KEYWORD

nonn,base

AUTHOR

Reinhard Zumkeller, Oct 04 2004

EXTENSIONS

Typo in data corrected by D. S. McNeil, Aug 20 2010

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 November 18 12:21 EST 2017. Contains 294891 sequences.