login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A132138 Characteristic function of the set of numbers defined in A002977. 4
1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

a(A002977(n)) = 1 and a(A132142(n)) = 0.

LINKS

R. Zumkeller, Table of n, a(n) for n = 1..10000

Index entries for characteristic functions

FORMULA

a(n) = if chi(n) then 1 else 0, where chi(n) = if n<3 then (n=1) else ((n mod 2 = 1) AND chi((n-1)/2)) OR ((n mod 3 = 1) AND chi((n-1)/3)).

CROSSREFS

Sequence in context: A075438 A118174 A156258 * A141212 A137893 A108882

Adjacent sequences:  A132135 A132136 A132137 * A132139 A132140 A132141

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller, Aug 20 2007

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified September 20 12:31 EDT 2017. Contains 292271 sequences.