|
|
A115042
|
|
Positions of 1's in A094405, "a(n) = sum of all previous terms modulo n, a(1)=1".
|
|
0
|
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Positions of 0's: 4, 9, 333.
|
|
LINKS
|
|
|
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:
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,fini,full
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|