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!)
A049764 a(n) = Sum_{k=1..n} T(n,k), array T as in A049763. 4
0, 0, 1, 1, 3, 1, 5, 7, 9, 10, 18, 10, 18, 25, 28, 40, 44, 26, 52, 79, 60, 78, 73, 101, 117, 133, 114, 136, 91, 90, 158, 188, 220, 244, 218, 220, 208, 283, 280, 303, 220, 319, 287, 393, 398, 446, 391, 459, 435, 534, 481, 471, 428, 499 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
FORMULA
a(n) = Sum_{i=1..n} (n^4 mod i). - Wesley Ivan Hurt, Sep 15 2017
MAPLE
seq( add( `mod`(n^4, k), k = 1..n), n = 1..60); # G. C. Greubel, Dec 13 2019
MATHEMATICA
Table[Sum[Mod[n^4, i], {i, n}], {n, 60}] (* Vincenzo Librandi, Sep 18 2017 *)
Table[Sum[PowerMod[n, 4, i], {i, n}], {n, 60}] (* Harvey P. Dale, Aug 29 2021 *)
PROG
(Magma) [&+[n^4 mod i: i in [1..n]]: n in [1..60]]; // Vincenzo Librandi, Sep 18 2017
(PARI) a(n) = sum(i=1, n, lift(Mod(n, i)^4)); \\ Michel Marcus, Sep 18 2017
(Sage) [sum(power_mod(n, 4, k) for k in (1..n)) for n in (1..60)] # G. C. Greubel, Dec 13 2019
(GAP) List([1..60], n-> Sum([1..n], k-> PowerMod(n, 4, k)) ); # G. C. Greubel, Dec 13 2019
CROSSREFS
Row sums of A049763.
Sequence in context: A159285 A021080 A354576 * A136437 A137328 A140991
KEYWORD
nonn,easy
AUTHOR
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 April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)