[go: up one dir, main page]

login
Revision History for A132194 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
a(n) = 1 if n-th prime is 0 or 2 mod 3, otherwise 0.
(history; published version)
#29 by Charles R Greathouse IV at Thu Sep 08 08:45:31 EDT 2022
PROG

(MAGMAMagma) [(NthPrime(n) mod 3) eq 1 select 0 else 1: n in [1..200]]; // G. C. Greubel, May 21 2019

Discussion
Thu Sep 08
08:45
OEIS Server: https://oeis.org/edit/global/2944
#28 by R. J. Mathar at Thu Jun 06 09:59:31 EDT 2019
STATUS

editing

approved

#27 by R. J. Mathar at Thu Jun 06 09:54:08 EDT 2019
FORMULA

a(n) = 1-A099618(n). - R. J. Mathar, Jun 06 2019

CROSSREFS
KEYWORD

nonn,easy

STATUS

approved

editing

#26 by N. J. A. Sloane at Tue May 21 17:27:05 EDT 2019
STATUS

editing

approved

#25 by N. J. A. Sloane at Tue May 21 17:27:04 EDT 2019
COMMENTS

Binary sequence based on the primes used : play it at a slower tempo to make a drum-like soundappreciate the irregularities.

STATUS

approved

editing

#24 by Sean A. Irvine at Tue May 21 15:32:46 EDT 2019
STATUS

reviewed

approved

#23 by Michel Marcus at Tue May 21 15:24:45 EDT 2019
STATUS

proposed

reviewed

#22 by Alois P. Heinz at Tue May 21 15:08:40 EDT 2019
STATUS

editing

proposed

#21 by Alois P. Heinz at Tue May 21 15:07:40 EDT 2019
PROG

(PARI) {a(n) = if(prime(n)%3==1, 0, 1)}; \\ _G. C. Greubel, _, May 21 2019

Discussion
Tue May 21
15:08
Alois P. Heinz: signatures were nonclickable, ..., changed it
#20 by Alois P. Heinz at Tue May 21 15:07:12 EDT 2019
PROG

(MAGMA) [(NthPrime(n) mod 3) eq 1 select 0 else 1: n in [1..200]]; // _G. C. Greubel, _, May 21 2019

[a(n) for n in (1..200)] # _G. C. Greubel, _, May 21 2019

STATUS

approved

editing