The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A218665 Numbers k that divide the sum of the first k numbers from Flavius Josephus's sieve (A099074). 0
1, 2, 4, 10, 16, 20, 41, 44, 55, 67, 76, 548, 751, 1962, 3318, 3760, 5873, 7729, 8074, 15502, 33847, 65888, 89836, 167786, 512688, 1401686, 2520988, 2897654, 5552333, 6352323, 7981750 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(32) > 10^7.
LINKS
EXAMPLE
The sum of the first 20 terms of A000960 is 2240, which is divisible by 20, so 20 is a term.
PROG
(PARI) s=1; print1(1 ", "); for(n=2, 10^4, f=n^2; forstep(m=n-1, 2, -1, r=f%m; if(r==0, r=m); f=f-r); f--; s=s+f; if(s%n==0, print1(n ", ")))
CROSSREFS
Cf. A000960.
Sequence in context: A358317 A096689 A039682 * A189558 A111149 A123689
KEYWORD
nonn,more
AUTHOR
Donovan Johnson, Nov 04 2012
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 9 08:35 EDT 2024. Contains 373231 sequences. (Running on oeis4.)