cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A380970 a(n) = Sum_{k=1..p-1} floor(k^p/p) where p is prime(n).

Original entry on oeis.org

0, 2, 258, 53820, 12942210870, 11901444483390, 25627001801054931000, 55413915436873048932450, 490667517005738962388828685972, 48588952813858892791005036793649985985110, 303307728036900627681487165427498812641117360, 158544898951978777519612048992784361843596346824881328530
Offset: 1

Views

Author

Michel Marcus, Feb 09 2025

Keywords

Crossrefs

Programs

  • PARI
    a(n) = my(p=prime(n)); sum(k=1, p-1, k^p\p);

Formula

For n>1, a(n) mod p = (p+1)/2 where p is prime(n).