The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A361463 a(n) = 1 if A135506(n) == 3 (mod 4), otherwise 0. 6

%I #8 May 11 2023 16:56:56

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

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

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

%N a(n) = 1 if A135506(n) == 3 (mod 4), otherwise 0.

%H Antti Karttunen, <a href="/A361463/b361463.txt">Table of n, a(n) for n = 1..65537</a>

%H <a href="/index/Ch#char_fns">Index entries for characteristic functions</a>

%o (PARI)

%o up_to = 100000;

%o A135506list(up_to_n) = { my(v=vector(up_to), x1=1, x2); for(n=2, 1+up_to_n, x2 = x1+lcm(x1, n); v[n-1] = (x2/x1)-1; x1=x2); (v); };

%o v135506 = A135506list(up_to);

%o A135506(n) = v135506[n];

%o A361463(n) = (3==(A135506(n)%4));

%Y Characteristic function of A361464.

%Y Cf. A135506, A361462.

%K nonn

%O 1

%A _Antti Karttunen_, Mar 14 2023

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 11 10:17 EDT 2024. Contains 373310 sequences. (Running on oeis4.)