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!)
A093849 Row sums of triangle A093846. 2
9, 153, 2097, 26496, 319995, 3749994, 42999985, 484999992, 5399999991, 59499999990, 649999999935, 7049999999988, 75999999999924, 814999999999941, 8699999999999985, 92499999999999984, 979999999999999902 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = n*(2*10^(n-1) - 2 + (n+1)*floor(9*10^(n-1)/n))/2.
MATHEMATICA
Table[n*(2*10^(n-1) -2 +(n+1)*Floor[9*10^(n-1)/n])/2, {n, 1, 20}] (* G. C. Greubel, Mar 22 2019 *)
PROG
(PARI) {a(n) = n*(2*10^(n-1) -2 +(n+1)*floor(9*10^(n-1)/n))/2}; \\ G. C. Greubel, Mar 22 2019
(Magma) [n*(2*10^(n-1) -2 +(n+1)*Floor(9*10^(n-1)/n))/2: n in [1..20]]; // G. C. Greubel, Mar 22 2019
(Sage) [n*(2*10^(n-1) -2 +(n+1)*floor(9*10^(n-1)/n))/2 for n in (1..20)] # G. C. Greubel, Mar 22 2019
CROSSREFS
Cf. A093846.
Sequence in context: A143905 A274502 A249642 * A165232 A246641 A169958
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Apr 18 2004
EXTENSIONS
Edited and extended 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 10 20:32 EDT 2024. Contains 372388 sequences. (Running on oeis4.)