login
A092037
A092255 mod 3.
0
1, 1, 0, 1, 2, 0, 0, 0, 0, 1, 2, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 2, 2, 0, 0, 0, 0, 2, 2, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 2, 2, 0, 0, 0, 0, 2, 2, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
OFFSET
0,5
FORMULA
a(n)=0 iff n is in A074940; a(n)=1 iff n is a power of 3; a(n)=2 iff n is in A092428
CROSSREFS
Sequence in context: A331919 A332005 A039968 * A338848 A364045 A166301
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Mar 27 2004
STATUS
approved