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 A255827 #9 Mar 12 2015 22:33:32 %S A255827 1,2,3,4,5,6,1,1,1,1,1,1,1,2,1,2,1,2,1,2,3,1,2,3,1,2,3,4,1,2,3,4,1,2, %T A255827 5,3,4,1,2,5,3,6,4,1,2,5,3,6,1,4,1,2,5,3,6,1,1,4,1,2,5,3,1,6,1,1,4,1, %U A255827 2,1,5,3,1,6,1,1,1,4,1,2,1,5,3,1,1,6,1,1,1,4,1,1,2,1,5,3,1,2,1,6 %N A255827 a(n) = n for n < 7; a(7n) = a(n); if every 7th term (a(7), a(14), a(21),...) is deleted, this gives back the original sequence. %C A255827 A self-generating sequence. This is the m=7 analog of the m=10 variant A126616. Sequence A117943 is the m=3 analog with all terms decreased by 1. %F A255827 a(n) = a(n/7) if n==0 (mod 7); a(n) = a(n - floor(n/7)) otherwise. %o A255827 (PARI) a(n, m=7)=while(n>=m, if(n%m, n-=n\m, n\=m)); n \\ _M. F. Hasler_, Mar 07 2015 %Y A255827 Cf. A117943, A255824 - A255829, A126616. %K A255827 nonn %O A255827 1,2 %A A255827 _M. F. Hasler_, Mar 07 2015