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!)
A125953 a(0)=1. a(n) = sum{k=0 to n-1} (a(k)(mod n)). 0
1, 0, 1, 2, 4, 8, 10, 12, 14, 25, 27, 38, 34, 72, 80, 103, 95, 101, 123, 123, 133, 208, 180, 175, 177, 196, 304, 329, 335, 300, 330, 440, 396, 350, 510, 511, 491, 651, 619, 644, 632, 666, 798, 831, 827, 971, 871, 964, 984, 1045, 1091, 1104, 1360, 1269, 1153, 1213 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
MATHEMATICA
f[l_List] := Block[{n = Length[l]}, Append[l, Sum[Mod[l[[k]], n], {k, n}]]]; Nest[f, {1}, 55] (* Ray Chandler, Feb 07 2007 *)
CROSSREFS
Sequence in context: A155037 A001770 A032494 * A373490 A308357 A047464
KEYWORD
easy,nonn
AUTHOR
Leroy Quet, Feb 05 2007
EXTENSIONS
Extended by Ray Chandler, Feb 07 2007
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 August 7 01:21 EDT 2024. Contains 375002 sequences. (Running on oeis4.)