login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A045507
Concatenate powers of 2.
2
1, 12, 124, 1248, 124816, 12481632, 1248163264, 1248163264128, 1248163264128256, 1248163264128256512, 12481632641282565121024, 124816326412825651210242048, 1248163264128256512102420484096, 12481632641282565121024204840968192, 1248163264128256512102420484096819216384
OFFSET
0,2
REFERENCES
A. Murthy, Smarandache Notions Journal, Vol. 11 N. 1-2-3 Spring 2000. [Felice Russo, Nov 15 1999]
LINKS
EXAMPLE
a(2) = 124 because it is the concatenation of 2^0, 2^1 and 2^2.
MATHEMATICA
Join[{1}, FromDigits/@Flatten/@IntegerDigits/@Flatten/@Rest[FoldList[List, {1}, 2^Range[25]]]] (* Vincenzo Librandi, Aug 10 2017 *)
PROG
(Magma) [Seqint(Reverse(&cat[Reverse(Intseq(2^k)): k in [0..n]])): n in [0..17]]; // Vincenzo Librandi, Aug 10 2017
CROSSREFS
Sequence in context: A039680 A332690 A016134 * A288350 A331396 A209041
KEYWORD
nonn,base
AUTHOR
STATUS
approved