OFFSET
1,2
EXAMPLE
integers : 1234567891011121314151617...
1st digit : x x x x
positions : 1 4 9 22
PROG
(PARI) a(n) = 1+ sum(k=1, n^2-1, #digits(k)); \\ Michel Marcus, Jul 27 2017
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Alexandre Wajnberg, Apr 25 2005
EXTENSIONS
More terms from Joshua Zucker, Jun 21 2006
STATUS
approved