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!)
A330069 Numbers k such that Sum_{i=1..k} i^A000010(k) == -2 (mod k). 9
1, 4, 60, 1716, 3444, 132396, 4428816612, 48846257124 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Apparently includes the sequence 2*A007850.
Additional terms include 4428816612, 48846257124, 865498410347676, 29474266940021148, 1101686782618260636, 488394001964999430175732692, 1108159829234141602577157118356, 3821334362841015969111519832677012.
a(9) > 10^13. - Giovanni Resta, Feb 27 2020
LINKS
MATHEMATICA
G[n_, k_] := G[n, k] = Mod[Sum[PowerMod[i, k, n], {i, 1, n}], n];
Select[Range[2000], G[#, EulerPhi[#]] == n-2 &]
fa=FactorInteger;
se[n_, k_] := Select[Transpose[fa[n]][[1]], IntegerQ[k/(# - 1)] &];
sumlis[li_] := Sum[li[[i]], {i, 1, Length[li]}]
Table[If[Mod[-n/se[n, EulerPhi[n]] // sumlis, n] == n-2, n], {n, 1,
1000000}] // Union
PROG
(PARI) isok(n) = sumdiv(n, d, eulerphi(n/d) * Mod(d, n)^eulerphi(n)) == -2; \\ Daniel Suteu, Jan 13 2020
CROSSREFS
Sequence in context: A324959 A098630 A336637 * A211309 A013502 A303286
KEYWORD
nonn,hard,more
AUTHOR
EXTENSIONS
a(7)-a(8) from Giovanni Resta, Feb 27 2020
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 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)