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!)
A341436 Numbers k such that k divides Sum_{j=1..k} j^(k+1-j). 1

%I #25 Feb 12 2021 09:18:08

%S 1,5,16,208,688,784,2864,9555,17776,81239

%N Numbers k such that k divides Sum_{j=1..k} j^(k+1-j).

%C Numbers k such that k divides A003101(k).

%C a(11) > 10^5.

%e 1^5 + 2^4 + 3^3 + 4^2 + 5^1 = 65 = 5 * 13. So 5 is a term.

%t Do[If[Mod[Sum[PowerMod[k, n + 1 - k, n], {k, 1, n}], n] == 0, Print[n]], {n, 1, 3000}] (* _Vaclav Kotesovec_, Feb 12 2021 *)

%o (PARI) isok(n) = sum(k=1, n, Mod(k, n)^(n+1-k))==0;

%Y Cf. A003101, A128981, A188775, A341437.

%K nonn,more

%O 1,2

%A _Seiichi Manyama_, Feb 11 2021

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 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)