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!)
A117640 Concatenation of first n numbers in base 4. 7
1, 12, 123, 12310, 1231011, 123101112, 12310111213, 1231011121320, 123101112132021, 12310111213202122, 1231011121320212223, 123101112132021222330, 12310111213202122233031 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Concatenation of the first n terms of A007090.
Base-4 analog of A058935.
LINKS
MATHEMATICA
Table[FromDigits[Flatten[Table[IntegerDigits[n, 4], {n, k}]]], {k, 15}] (* Harvey P. Dale, Jan 18 2023 *)
PROG
(Python)
from gmpy2 import digits
def A117640(n): return int(''.join(digits(n, 4) for n in range(1, n+1))) # Chai Wah Wu, Apr 19 2023
CROSSREFS
Other bases: A058935 (2), A360502 (3), A007908 (10).
Sequence in context: A083429 A226737 A077306 * A074158 A071269 A061088
KEYWORD
base,easy,nonn
AUTHOR
Jonathan Vos Post, Apr 27 2006
EXTENSIONS
Edited by Jason Kimberley, Nov 27 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 May 8 16:29 EDT 2024. Contains 372340 sequences. (Running on oeis4.)