%I #10 Feb 12 2023 10:26:22
%S 0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,
%T 0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,
%U 0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,1
%N a(n) = 1 if A360112(n) = 1, otherwise 0.
%C See comments in A345330.
%H Antti Karttunen, <a href="/A360113/b360113.txt">Table of n, a(n) for n = 2..100000</a>
%H <a href="/index/Ch#char_fns">Index entries for characteristic functions</a>
%F a(n) = [A360112(n) = 1], where [ ] is the Iverson bracket.
%F a(n) = A000035(n) * A360116(n).
%o (PARI) A360113(n) = { my(f=factor(n), x = 1+(2^valuation(n-1,2))); (1==sum(m=0,n-1,!((m + m^x)%n))); };
%Y Characteristic function of A360114.
%Y Cf. A000035, A345330, A360112, A360116.
%K nonn
%O 2
%A _Antti Karttunen_, Feb 10 2023