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!)
A174664 Sequence given by: a(0)=1, a(1)=2, and the formula a(n)=a(abs(floor((1/3)*n-a(n-2)))) for n>=2. 2
1, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..104.

EXAMPLE

a(2)=a(abs(floor(-2/3)))=a(1)=2. a(3)=a(abs(1-a(1)))=a(1)=2. a(4)=a(abs(floor(4/3-2)))=a(1)=2. a(5)=a(abs(floor(5/3-a(3))))=a(1)=2. a(6)=a(2-a(4))=a(0)=1.

CROSSREFS

Cf. A174353.

Sequence in context: A037813 A159700 A083534 * A027386 A102300 A202146

Adjacent sequences:  A174661 A174662 A174663 * A174665 A174666 A174667

KEYWORD

easy,nonn

AUTHOR

Richard Choulet, Mar 26 2010

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 18 02:34 EDT 2022. Contains 356204 sequences. (Running on oeis4.)