[go: up one dir, main page]

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!)
Revision History for A359606 (Underlined text is an addition; strikethrough text is a deletion.)

Showing all changes.
A359606 a(n) = 1 if A355690(n) is negative (-1), otherwise 0.
(history; published version)
#8 by Michael De Vlieger at Sat Feb 18 22:48:38 EST 2023
STATUS

reviewed

approved

#7 by Andrew Howroyd at Sat Feb 18 22:20:31 EST 2023
STATUS

proposed

reviewed

#6 by Antti Karttunen at Sat Feb 18 21:43:30 EST 2023
STATUS

editing

proposed

#5 by Antti Karttunen at Sat Feb 18 21:14:30 EST 2023
LINKS

Antti Karttunen, <a href="/A359606/b359606.txt">Table of n, a(n) for n = 1..65537</a>

STATUS

approved

editing

#4 by Michael De Vlieger at Thu Jan 12 18:43:28 EST 2023
STATUS

proposed

approved

#3 by Antti Karttunen at Thu Jan 12 16:09:40 EST 2023
STATUS

editing

proposed

#2 by Antti Karttunen at Thu Jan 12 16:07:55 EST 2023
NAME

allocateda(n) = 1 if forA355690(n) is Anttinegative (-1), otherwise Karttunen0.

DATA

0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1

OFFSET

1

LINKS

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

FORMULA

a(n) = A359605(n) - A355690(n).

a(n) = A359590(n) - A359605(n).

PROG

(PARI)

A010892(n) = ([1, 1, 0, -1, -1, 0][n%6 + 1]);

A355690(n) = { my(f = factor(n)); prod(k=1, #f~, if(2==f[k, 1], A010892(1+f[k, 2]), -(1==f[k, 2]))); };

A359606(n) = (A355690(n)<0);

CROSSREFS

Cf. A355690, A359590, A359605.

KEYWORD

allocated

nonn,easy

AUTHOR

Antti Karttunen, Jan 12 2023

STATUS

approved

editing

#1 by Antti Karttunen at Fri Jan 06 18:29:48 EST 2023
NAME

allocated for Antti Karttunen

KEYWORD

allocated

STATUS

approved

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 August 30 00:57 EDT 2024. Contains 375520 sequences. (Running on oeis4.)