|
Search: id:A094260
|
|
|
| A094260 |
|
Sum of next n numbers/n if n divides the sum else n times the sum of next n numbers. |
|
+0 1
|
|
| 1, 10, 5, 136, 13, 666, 25, 2080, 41, 5050, 61, 10440, 85, 19306, 113, 32896, 145, 52650, 181, 80200, 221, 117370, 265, 166176, 313, 228826, 365, 307720, 421, 405450, 481, 524800, 545, 668746, 613, 840456, 685, 1043290, 761, 1280800, 841, 1556730, 925, 1875016, 1013, 2239786
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
FORMULA
|
For even n, a(n) = A000217(n^2) = n^2*(n^2+1)/2; for odd n, a(n) = (n^2 + 1)/2.
|
|
EXAMPLE
|
The sequence is: 1/1, (2+3)*2, (4+5+6)/3, (7+8+9+10)*4, ...
|
|
CROSSREFS
|
Cf. A037270.
Sequence in context: A096898 A146008 A038307 this_sequence A010171 A006518 A158508
Adjacent sequences: A094257 A094258 A094259 this_sequence A094261 A094262 A094263
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Apr 26 2004
|
|
EXTENSIONS
|
Edited and extended by Max Alekseyev (maxale(AT)gmail.com), Apr 26 2009
|
|
|
Search completed in 0.002 seconds
|