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.
%I A380970 #5 Feb 10 2025 04:41:12 %S A380970 0,2,258,53820,12942210870,11901444483390,25627001801054931000, %T A380970 55413915436873048932450,490667517005738962388828685972, %U A380970 48588952813858892791005036793649985985110,303307728036900627681487165427498812641117360,158544898951978777519612048992784361843596346824881328530 %N A380970 a(n) = Sum_{k=1..p-1} floor(k^p/p) where p is prime(n). %H A380970 Jean-Christophe Pain, <a href="https://arxiv.org/abs/2502.04731">Congruence properties of prime sums and Bernoulli polynomials</a>, arXiv:2502.04731 [math.HO], 2025. %F A380970 For n>1, a(n) mod p = (p+1)/2 where p is prime(n). %o A380970 (PARI) a(n) = my(p=prime(n)); sum(k=1, p-1, k^p\p); %Y A380970 Cf. A078837, A361559. %K A380970 nonn %O A380970 1,2 %A A380970 _Michel Marcus_, Feb 09 2025