login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A115042 Positions of 1's in A094405, "a(n) = sum of all previous terms modulo n, a(1)=1". 0
1, 2, 18, 24, 35, 40, 252 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Positions of 0's: 4, 9, 333.

LINKS

Table of n, a(n) for n=1..7.

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

CROSSREFS

Cf. A094405.

Sequence in context: A322489 A063430 A031104 * A191461 A098561 A141426

Adjacent sequences:  A115039 A115040 A115041 * A115043 A115044 A115045

KEYWORD

nonn,fini,full

AUTHOR

Zak Seidov, Feb 27 2006

EXTENSIONS

Keywords fini,full added by Robert Israel, Aug 16 2018

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 19 16:17 EDT 2019. Contains 328223 sequences. (Running on oeis4.)