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!)
A113566 Prime(n)-th digit in the concatenation of natural numbers. 1234567891011121314151617181920212223242526... 23 5 7 0 1 3 4 6 9 0 3 5... 1
2, 3, 5, 7, 0, 1, 3, 4, 6, 9, 0, 3, 5, 6, 8, 1, 4, 5, 8, 0, 1, 4, 6, 9, 3, 5, 6, 8, 9, 1, 8, 0, 3, 4, 9, 0, 3, 6, 8, 1, 4, 5, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 3, 1, 3, 1, 4, 1, 4, 1, 1, 5, 1, 5, 5, 1, 1, 1, 6, 6, 1, 7, 1, 7, 1, 8, 1, 1, 8, 8, 1, 9, 1, 9, 9, 1, 0, 2, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
almostNatural[n_, b_] := Block[{m = 0, d = n, i = 1, l, p}, While[m <= d, l = m; m = (b - 1) i*b^(i - 1) + l; i++]; i--; p = Mod[d - l, i]; q = Floor[(d - l)/i] + b^(i - 1); If[p != 0, IntegerDigits[q, b][[p]], Mod[q - 1, b]]]; Table[ almostNatural[ n, 10], {n, Prime@ Range@ 105}] (* Robert G. Wilson v, Jun 29 2014 *)
CROSSREFS
Sequence in context: A270517 A124648 A093339 * A020775 A041000 A185107
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Nov 06 2005
EXTENSIONS
More terms from Joshua Zucker, May 03 2006
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 April 25 08:27 EDT 2024. Contains 371964 sequences. (Running on oeis4.)