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!)
A066547 Let N = 123456789101112131415161718..., the concatenation of the natural numbers. a(n) is the n-digit number formed from the digits of N starting from the {n(n-1)/2 +1}th digit. Omit any leading zeros. 11
1, 23, 456, 7891, 1112, 131415, 1617181, 92021222, 324252627, 2829303132, 33343536373, 839404142434, 4454647484950, 51525354555657, 585960616263646, 5666768697071727, 37475767778798081, 828384858687888990, 9192939495969798991, 101102103104105106, 107108109110111112113 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
1, 23, 456, 7891, 01112, 131415, 1617181, 92021222, 3... becomes 1, 23, 456, 7891, 1112, 131415, 1617181, 92021222, ...
MATHEMATICA
d = Flatten[IntegerDigits /@ Range[90]]; Table[FromDigits[Take[d, {n(n + 1)/2 + 1, (n + 1)(n + 2)/2}]], {n, 0, 17}] (* Robert G. Wilson v, Nov 22 2004 *)
PROG
(PARI) N=[]; k=0; for(n=1, 20, while(#N<n, N=concat(N, Vec(Str(k++)))); print1(eval(concat(vecextract(N, 2^n-1)))", "); N=vecextract(N, Str("^.."n))) \\ M. F. Hasler, May 08 2014
CROSSREFS
Sequence in context: A174425 A076068 A062273 * A001369 A007923 A080479
KEYWORD
nonn,base
AUTHOR
Amarnath Murthy, Dec 16 2001
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), Dec 18 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 16:05 EDT 2024. Contains 371254 sequences. (Running on oeis4.)