|
Search: id:A111490
|
|
|
| A111490 |
|
Sum of the element of the antidiagonals of the numerical array M(m,n) defined as follows. First row (M11, M12, ..., M1n): 1, 1, 1, 1, 1, 1, ... (all 1's). Second row (M21, M22, ..., M2n): 1, 2, 1, 2, 1, 2, ... (sequence 1, 2 repeated). Third row (M31, M32, ..., M3n): 1, 2, 3, 1, 2, 3, 1, 2, 3, ... (sequence 1, 2, 3 repeated). Fourth row (M41, M42, ..., M4n): 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, ... (sequence 1, 2, 3, 4 repeated). And so on. |
|
+0 20
|
|
| 1, 2, 4, 5, 9, 9, 15, 16, 21, 23, 33, 29, 41, 45, 51, 52, 68, 65, 83, 81, 91, 99, 121, 109, 128, 138, 152, 152, 180, 168, 198, 199, 217, 231, 253, 234, 270, 286, 308, 298, 338, 326, 368, 372, 384, 404, 450, 422, 463, 470, 500, 506, 558, 546, 584, 576, 610, 636
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
Then the sequence is M(1, 2), M(1, 3)+M(2, 3), M(1, 4)+M(2, 4)+M(3, 4), etc. a(n) = Sum_{i=1..n} M(i, n+1).
The successive determinants of the arrays are the factorial numbers (A000142).- Robert G. Wilson v.
Also, a(n)=n+sum of remainders of n mod k, for k=1, 2, 3,..,n. - Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Aug 30 2009.
|
|
FORMULA
|
a(n)=A000027(n)+A004125(n). - Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Aug 30 2009.
|
|
EXAMPLE
|
Considering the 6X6 array:
1, 1, 1, 1, 1, 1
1, 2, 1, 2, 1, 2
1, 2, 3, 1, 2, 3
1, 2, 3, 4, 1, 2
1, 2, 3, 4, 5, 1
1, 2, 3, 4, 5, 6
The third element of the sequence is 1+2+1=4
The fifth element of the sequence is 1+2+3+2+1=9
|
|
MATHEMATICA
|
t = Table[Flatten@Table[Range@n, {m, Ceiling[99/n]}], {n, 99}]; f[n_] := Sum[ t[[i, n - i + 1]], {i, n}]; Array[f, 58] (* Robert G. Wilson v *)
(* to view table *) Table[Flatten@Table[Range@n, {m, Ceiling[40/n]}], {n, 10}] // TableForm
|
|
CROSSREFS
|
Sequence in context: A116920 A116919 A167511 this_sequence A079784 A072795 A120797
Adjacent sequences: A111487 A111488 A111489 this_sequence A111491 A111492 A111493
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Paolo P. Lava (ppl(AT)spl.at) & Giorgio Balzarotti (ppl(AT)spl.at), Nov 21 2005
|
|
EXTENSIONS
|
Edited and extended by Robert G. Wilson v (rgwv(at)rgwv.com), Nov 22 2005
|
|
|
Search completed in 0.002 seconds
|