A115042 Positions of 1's in A094405, "a(n) = sum of all previous terms modulo n, a(1)=1".
1, 2, 18, 24, 35, 40, 252
Offset: 1
Crossrefs
Cf. A094405.
Programs
-
Maple
Res:= 1; s:= 1: for n from 2 to 397 do a:= s mod n; s:= s+a; if a = 1 then Res:= Res, n fi; od: Res; # Robert Israel, Aug 16 2018
Extensions
Keywords fini,full added by Robert Israel, Aug 16 2018
Comments