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.

A064301 Rightmost column of A064744; 2-adic valuation of the EKG-sequence.

This page as a plain text file.
%I A064301 #23 May 22 2018 22:26:35
%S A064301 0,1,2,1,0,0,2,3,1,0,0,1,1,0,0,3,4,2,1,0,0,0,1,0,0,2,1,0,0,2,5,1,0,0,
%T A064301 1,1,0,0,0,3,2,1,0,0,4,1,2,1,3,0,0,2,0,0,1,1,0,0,1,1,0,0,3,6,2,1,0,0,
%U A064301 0,1,2,4,1,0,0,0,2,0,3,1,0,0,1,0,0,2,2,1,0,0,5,1,0,3,1,0,0,2,1,0,0,1,1,4,2
%N A064301 Rightmost column of A064744; 2-adic valuation of the EKG-sequence.
%C A064301 Exponent of highest power of 2 dividing A064413(n).
%H A064301 Antti Karttunen, <a href="/A064301/b064301.txt">Table of n, a(n) for n = 1..65539</a>
%H A064301 J. C. Lagarias, E. M. Rains and N. J. A. Sloane, <a href="https://arxiv.org/abs/math/0204011">The EKG sequence</a>, arXiv:math/0204011 [math.NT], 2002.
%H A064301 J. C. Lagarias, E. M. Rains and N. J. A. Sloane, <a href="https://projecteuclid.org/euclid.em/1057777433">The EKG sequence</a>, Exper. Math. 11 (2002), 437-446.
%H A064301 <a href="/index/Ed#EKG">Index entries for sequences related to EKG sequence</a>
%H A064301 <a href="/index/Rea#Recaman">Index entries for sequences related to Recamán's sequence</a>
%t A064301 IntegerExponent[#, 2] & /@ Nest[Append[#, Block[{k = 3}, While[Or[MemberQ[#, k], GCD[#[[-1]], k] == 1], k++]; k]] &, {1, 2}, 105] (* _Michael De Vlieger_, May 22 2018 *)
%o A064301 (PARI) A064301(n) = valuation(A064413(n),2); \\ Needs also code from A064413. - _Antti Karttunen_, May 18 2018
%Y A064301 Cf. A064413, A064741, A064744, A304735, A304737.
%K A064301 nonn
%O A064301 1,3
%A A064301 _N. J. A. Sloane_, Oct 20 2001
%E A064301 More terms from _Vladeta Jovovic_, Oct 21 2001
%E A064301 An alternative description added to name by _Antti Karttunen_, May 18 2018