login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

a(n)=1 if A361102(n) is even, otherwise 0.
5

%I #16 Oct 11 2023 08:41:42

%S 0,1,1,1,1,0,1,1,0,1,1,1,1,1,0,1,0,1,1,0,1,1,1,0,1,1,1,0,1,1,0,1,0,1,

%T 1,1,0,0,1,1,0,1,1,1,0,1,0,1,1,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,1,1,0,

%U 1,1,1,0,1,1,0,1,0,1,0,1,1,0,1,1,0,1,1,0,1,0,1,1,1,0

%N a(n)=1 if A361102(n) is even, otherwise 0.

%H Paolo Xausa, <a href="/A361113/b361113.txt">Table of n, a(n) for n = 1..10000</a>

%t A361113list[upto_]:=Join[{0},1-Mod[Select[Range[upto],Length[FactorInteger[#]]>1&],2]];A361113list[200] (* _Paolo Xausa_, Oct 11 2023 *)

%Y Cf. A361102, A361114, A361115, A361116.

%K nonn

%O 1

%A _Scott R. Shannon_ and _N. J. A. Sloane_, Mar 03 2023

%E Offset changed to 1 by _Paolo Xausa_, Oct 11 2023