login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A262571 Concatenation of the numbers from 2 to n. 16
2, 23, 234, 2345, 23456, 234567, 2345678, 23456789, 2345678910, 234567891011, 23456789101112, 2345678910111213, 234567891011121314, 23456789101112131415, 2345678910111213141516, 234567891011121314151617, 23456789101112131415161718, 2345678910111213141516171819 (list; graph; refs; listen; history; text; internal format)
OFFSET

2,1

LINKS

Table of n, a(n) for n=2..19.

MATHEMATICA

Table[FromDigits[Flatten[IntegerDigits[Range[2, n]]]], {n, 2, 19}]  (* Robert Price, Oct 28 2018 *)

PROG

(MAGMA) [Seqint(Reverse(&cat[Reverse(Intseq(k)): k in [2..n]])): n in [2..20]]; // Vincenzo Librandi, Oct 29 2018

(Python)

def a(n): return int("".join(map(str, range(2, n+1))))

print([a(n) for n in range(2, 20)]) # Michael S. Branicky, Feb 23 2021

CROSSREFS

For primes in this sequence see A089987.

Cf. A007908, A262299, A262572-A262582.

See A262300 for more about this problem.

Sequence in context: A088094 A112782 A093672 * A283560 A159902 A301339

Adjacent sequences:  A262568 A262569 A262570 * A262572 A262573 A262574

KEYWORD

nonn,base

AUTHOR

N. J. A. Sloane, Sep 25 2015

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 5 18:00 EDT 2021. Contains 343572 sequences. (Running on oeis4.)