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”).

A072418
Parity of floor(3^n/2^n).
2
1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0
OFFSET
1,1
LINKS
FORMULA
a(n) = floor(3^n/2^n) mod 2 = A002379(n) mod 2.
MATHEMATICA
Table[Floor[3^w/2^w], {w, 1, 256}]
CROSSREFS
Cf. A002379.
Sequence in context: A285657 A162519 A181359 * A128973 A176412 A013596
KEYWORD
nonn
AUTHOR
Labos Elemer, Jun 17 2002
EXTENSIONS
Edited by Michael De Vlieger, Nov 05 2020
STATUS
approved