OFFSET
1,1
FORMULA
The following inequality obviously holds for n > 1: a(n) >= (n-1)*10^(floor(1+log10(n)) + floor(1+log10(n+1))) + n*10^(floor(1+log10(n+1))) + n + 1. - Sam Alexander, Oct 19 2003
EXAMPLE
a(1) = 12 = 012, a(9) = 8910, a(13) = 1213147, 13 is sandwiched between 12 and 14.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Nov 26 2002
EXTENSIONS
Corrected and extended by Sam Alexander, Oct 19 2003
a(16) and a(26) corrected, missing a(25) inserted, and more terms from Sean A. Irvine, Jun 26 2025
STATUS
approved
