The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A093847 First column of triangle A093846. 5
9, 54, 399, 3249, 27999, 249999, 2285713, 21249999, 199999999, 1899999999, 18181818180, 174999999999, 1692307692306, 16428571428570, 159999999999999, 1562499999999999, 15294117647058822, 149999999999999999 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = 10^(n-1) - 1 + floor(9*10^(n-1)/n) = A093846(n, 1). - R. J. Mathar, Jun 23 2006
MAPLE
A093847 := proc(n) RETURN (10^(n-1)-1+floor(9*(10^(n-1)/n))); end; for n from 1 to 20 do printf("%d, ", A093847(n)); od; # R. J. Mathar, Jun 23 2006
MATHEMATICA
Table[10^(n-1)-1+Floor[9 10^(n-1)/n], {n, 20}] (* Harvey P. Dale, Oct 21 2011 *)
PROG
(PARI) {a(n) = 10^(n-1) -1 +floor(9*10^(n-1)/n)}; \\ G. C. Greubel, Mar 22 2019
(Magma) [10^(n-1) -1 +Floor(9*10^(n-1)/n): n in [1..20]]; // G. C. Greubel, Mar 22 2019
(Sage) [10^(n-1) -1 +floor(9*10^(n-1)/n) for n in (1..20)] # G. C. Greubel, Mar 22 2019
CROSSREFS
Cf. A093846.
Sequence in context: A115784 A037599 A037704 * A363415 A157539 A205814
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Apr 18 2004
EXTENSIONS
More terms from R. J. Mathar, Jun 23 2006
Edited by David Wasserman, Mar 26 2007
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 May 13 18:50 EDT 2024. Contains 372522 sequences. (Running on oeis4.)