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!)
A066519 Gaps between successive numbers with an anti-divisor class sum of zero. 2
1, 1, 3, 3, 6, 2, 4, 7, 2, 6, 7, 3, 1, 4, 3, 8, 7, 2, 1, 3, 5, 10, 2, 1, 3, 3, 2, 1, 5, 1, 1, 1, 4, 4, 2, 2, 2, 9, 2, 6, 9, 1, 1, 4, 4, 1, 3, 6, 1, 3, 22, 1, 9, 1, 1, 2, 2, 4, 7, 3, 5, 4, 1, 2, 20, 1, 2, 6, 1, 4, 4, 9, 5, 1, 4, 5, 2, 7, 8, 2, 2, 9, 2, 2, 1, 5, 3, 1, 4, 1, 12, 16, 13, 5, 1, 9, 2, 1, 3, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
See A066272 for definition of anti-divisor.
LINKS
Jon Perry, Class sums
EXAMPLE
f(1)=f(2)=f(3)=0, f(4)=1, f(5)=-1, f(6)=0, so the first 3 gaps are 1, 1, 3.
MATHEMATICA
a[ n_ ] := Sum[ Which[ Mod[ n, d ]==(d-1)/2, -1, Mod[ n, d ]==(d+1)/2, 1, True, 0 ], {d, 2, n-1} ]; z=Select[ Range[ 1, 500 ], a[ # ]==0& ]; Drop[ z, 1 ]-Drop[ z, -1 ]
CROSSREFS
Cf. A066518.
Sequence in context: A342512 A205548 A010609 * A236258 A105158 A020813
KEYWORD
nonn
AUTHOR
Jon Perry, Jan 06 2002
EXTENSIONS
Edited by Dean Hickerson, Jan 17 2002
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 April 16 14:17 EDT 2024. Contains 371740 sequences. (Running on oeis4.)