A124798 Sequence of digits (least significant digit first) of A124797 (sums of cyclic permutations of 1...n written in base n+1).
1, 0, 1, 1, 2, 3, 3, 1, 0, 2, 2, 2, 2, 3, 5, 5, 5, 5, 2, 0, 3, 3, 3, 3, 3, 3, 4, 7, 7, 7, 7, 7, 7, 3, 0, 4, 4, 4, 4, 4, 4, 4, 4, 5, 9, 9, 9, 9, 9, 9, 9, 9, 4, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 5, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 13, 13, 13, 13, 13, 13
Offset: 1
Examples
a(1)=1, the sum of cyclic permutations of 1; a(2..4)=0,1,1 since 12 + 21 = 110 in base 3; a(5..8)=2,3,3,1 since 123 + 231 + 312 = 1332 in base 4; a(9..13)=0,2,2,2,2 since 1234 + 2341 + 3412 + 4123 = 22220 in base 5.
Comments