OFFSET
1,1
COMMENTS
Also, positive integers n such that there exists an odd prime divisor p of n such that (p-1) also divides n (cf. A124240). - Max Alekseyev, Sep 07 2013
This sequence agrees with A088723 for many terms, but they are different.
If n is in the sequence, then so are the multiples of n. See A280187 for primitive members of this sequence. - Charles R Greathouse IV, Dec 28 2016
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Range[100], Mod[2*Sum[PowerMod[k, #, #], {k, #}], #] > 0 &]
PROG
(PARI) is(n)=my(f=factor(n)[, 1]); for(i=1, #f, if(n%(f[i]-1)==0 && f[i]>2, return(1))); 0 \\ Charles R Greathouse IV, Dec 28 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Sep 06 2013
STATUS
approved