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