This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A084348 #5 Mar 30 2012 18:39:18 %S A084348 0,0,1,2,2,1,2,1,0,1,2,0,1,0,1,2,5,4,5,2,1,2,5,2,2,4,4,1,2,5,0,1,6,5, %T A084348 4,1,2,5,7,2,2,4,2,8,1,2,5,6,5,6,7,0,1,0,1,2,5,5,10,7,10,5,8,7,5,1,2, %U A084348 5,4,5,2,1,8,5,10,5,8,1,2,5,3,0,1,7,11,11,9,0,1,0,1,2,5,2,9,4,11,8,9,12,9,2 %N A084348 Triangle in which row n gives periodic part of a certain map. %C A084348 Let r(k,n)=floor(e*k!)-n*floor(e*k!/n) then for any n integer>0, sequence r(k,n) is n-periodic. Sequence gives periods of r(k,n) for fixed n. %e A084348 If n=7, r(k,7) is sequence 2, 5, 2, 2, 4, 4, 1, 2, 5, 2, 2, 4, 4, 1, 2, 5, 2, 2, 4, 4, 1, 2, 5, 2, 2, 4, 4, 1, 2, 5...... 7-periodic with period: (2, 5, 2, 2, 4, 4, 1,) %Y A084348 Cf. A084351. %K A084348 nonn,tabl %O A084348 1,4 %A A084348 _Benoit Cloitre_, Jun 22 2003