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.

A370597 Even numbers k such that gcd(k, A007814(k)) = 1.

This page as a plain text file.
%I A370597 #7 Feb 23 2024 11:03:35
%S A370597 2,6,8,10,14,18,22,26,30,32,34,38,40,42,46,50,54,56,58,62,66,70,74,78,
%T A370597 82,86,88,90,94,96,98,102,104,106,110,114,118,122,126,128,130,134,136,
%U A370597 138,142,146,150,152,154,158,162,166,170,174,178,182,184,186,190,194,198,200
%N A370597 Even numbers k such that gcd(k, A007814(k)) = 1.
%C A370597 The asymptotic density of this sequence is Sum_{k>=0} (phi(2*k+1)/((2*k+1)*2^(2*k+2))) = 0.30845704942203403516..., where phi is Euler's totient function (A000010).
%H A370597 Amiram Eldar, <a href="/A370597/b370597.txt">Table of n, a(n) for n = 1..10000</a>
%t A370597 Select[2 * Range[200], CoprimeQ[#, IntegerExponent[#, 2]] &]
%o A370597 (PARI) is(n) = !(n%2) && gcd(n, valuation(n, 2)) == 1;
%Y A370597 Cf. A000010, A007814, A336066.
%K A370597 nonn,easy
%O A370597 1,1
%A A370597 _Amiram Eldar_, Feb 23 2024