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!)
A066809 a(n) = sum of modular offsets: mod[n+c,b]-(mod[n,b]+c) for c<=b<=n. 0
1, 3, 8, 13, 27, 34, 61, 76, 111, 136, 201, 213, 303, 354, 439, 490, 642, 682, 871, 935, 1107, 1234, 1509, 1535, 1834, 2011, 2298, 2438, 2872, 2937, 3432, 3619, 4049, 4350, 4905, 4956, 5658, 6033, 6634, 6844, 7704, 7871, 8816, 9180, 9874, 10421, 11548 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
1 = {1}, 3 = {1}+{0+2}, 8 = {1}+{2+2}+{0+0+3}, 13= {1}+{0+2}+{0+3+3}+{0+0+0+4}, 27= {1}+{2+2}+{3+3+3}+{0+0+4+4}+{0+0+0+0+5}, 34 = {1}+{0+2}+{0+0+3}+{0+4+4+4}+{0+0+0+5+5}+{0+0+0+0+0+6}.
MATHEMATICA
Table[ Sum[ -Mod[ n+c, b ]+Mod[ n, b ]+c, {b, n}, {c, b} ], {n, 64} ]
CROSSREFS
Sequence in context: A146939 A181540 A059028 * A009848 A337504 A355240
KEYWORD
nonn
AUTHOR
Wouter Meeussen, Jan 19 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 20 14:48 EDT 2024. Contains 371844 sequences. (Running on oeis4.)