OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 12 = 2*2*3 is a term because 12*13/2 = 78 == 1 (mod 2+2+3 = 7).
MAPLE
filter:= proc(n) local t; (n*(n+1)/2) mod add(t[1]*t[2], t=ifactors(n)[2]) = 1 end proc:
select(filter, [$2..3000]);
MATHEMATICA
Select[Range[3000], Mod[#*(# + 1)/2, Plus @@ Times @@@ FactorInteger[#]] == 1 &] (* Amiram Eldar, Apr 14 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Apr 13 2022
STATUS
approved