login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A198473 If n even, then 2n. If n odd, then nearest integer to 2n/3. 1
0, 1, 4, 2, 8, 3, 12, 5, 16, 6, 20, 7, 24, 9, 28, 10, 32, 11, 36, 13, 40, 14, 44, 15, 48, 17, 52, 18, 56, 19, 60, 21, 64, 22, 68, 23, 72, 25, 76, 26, 80, 27, 84, 29, 88, 30, 92, 31, 96, 33, 100, 34, 104, 35, 108, 37, 112, 38, 116, 39, 120, 41, 124, 42, 128 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

Permutation of nonnegative integers : lodumo_4 of (0,1,0,2,0,3,0,1,0,2,0,3,0,1,0,2,0,3,0,1,0,2,0,3,0,1,0,2,0,3,...)

Is this the same as A026209 or A026185? - R. J. Mathar, Oct 26 2011

LINKS

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

Index entries for linear recurrences with constant coefficients, signature (0,1,0,0,0,1,0,-1)

FORMULA

a(2n)=4n ; a(6n+1)=4n+1 ; a(6n+3)=4n+2 ; a(6n+5)=4n+3.

G.f.: x(1+4*x+x^2+4*x^3+x^4+4*x^5+x^6)/((1+x^2+x^4)*(1-x^2)^2).

CROSSREFS

Bisections: A008586, A042968.

Sequence in context: A088610 A026185 A026209 * A133640 A065171 A026192

Adjacent sequences:  A198470 A198471 A198472 * A198474 A198475 A198476

KEYWORD

easy,nonn

AUTHOR

Philippe Deléham, Oct 25 2011

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 24 10:42 EST 2020. Contains 331193 sequences. (Running on oeis4.)