cp's OEIS Frontend

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.

A050604 Column 3 of A050600: a(n) = add1c(n,3).

This page as a plain text file.
%I A050604 #9 Feb 25 2019 11:03:54
%S A050604 1,3,2,2,1,4,3,3,1,3,2,2,1,5,4,4,1,3,2,2,1,4,3,3,1,3,2,2,1,6,5,5,1,3,
%T A050604 2,2,1,4,3,3,1,3,2,2,1,5,4,4,1,3,2,2,1,4,3,3,1,3,2,2,1,7,6,6,1,3,2,2,
%U A050604 1,4,3,3,1,3,2,2,1,5,4,4,1
%N A050604 Column 3 of A050600: a(n) = add1c(n,3).
%C A050604 Image of A001511 under the map x -> {1,x+2,x+1,x+1}. - _Charlie Neder_, Feb 25 2019
%F A050604 a(4n) = 1, a(4n+1)-2 = a(4n+2)-1 = a(4n+3)-1 = A001511(n) for all n >= 0. - _M. F. Hasler_, Feb 25 2019
%o A050604 (PARI) A050604(n)=if((n=divrem(n,4))[2],valuation(n[1]+1,2)+2+(n[2]<2),1) \\ _M. F. Hasler_, Feb 25 2019
%Y A050604 Cf. A050600, A001511.
%K A050604 nonn
%O A050604 0,2
%A A050604 _Antti Karttunen_, Jun 22 1999