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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A110657 A028242(A028242(n)). 5
0, 1, 2, 0, 1, 2, 3, 1, 2, 3, 4, 2, 3, 4, 5, 3, 4, 5, 6, 4, 5, 6, 7, 5, 6, 7, 8, 6, 7, 8, 9, 7, 8, 9, 10, 8, 9, 10, 11, 9, 10, 11, 12, 10, 11, 12, 13, 11, 12, 13, 14, 12, 13, 14, 15, 13, 14, 15, 16, 14, 15, 16, 17, 15, 16, 17, 18, 16, 17, 18, 19, 17, 18, 19, 20, 18, 19, 20, 21, 19, 20, 21 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

COMMENTS

Also array read by rows, with four columns, in which row n lists n, n+1, n+2, n. - Omar E. Pol, Jan 22 2012

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..10000

Index to sequences with linear recurrences with constant coefficients, signature (1,0,0,1,-1).

FORMULA

A110658(n) = A028242(a(n)) = a(A028242(n)).

a(n) = floor(n/4) + (n mod 4) mod 3.

G.f.: x*(1+x-2*x^2+x^3)/((1+x)*(1+x^2)*(1-x)^2). a(n) = (1/8)*(2*n-6*(-1)^(n*(n+1)/2)+3*(-1)^n+3). - Bruno Berselli, Sep 28 2011

EXAMPLE

Contribution from Omar E. Pol, Jan 22 2012 (Start):

Array begins:

0, 1, 2, 0;

1, 2, 3, 1;

2, 3, 4, 2;

3, 4, 5, 3;

4, 5, 6, 4;

5, 6, 7, 5;

6, 7, 8, 6;

7, 8, 9, 7;

(End)

PROG

(MAGMA) [Integers()!(2*n-6*(-1)^(n*(n+1)/2)+3*(-1)^n+3)/8: n in [0..81]]; // Bruno Berselli, Sep 28 2011

CROSSREFS

Cf. A007892, A110655.

Sequence in context: A071486 A046695 A071433 * A071512 A080018 A079686

Adjacent sequences:  A110654 A110655 A110656 * A110658 A110659 A110660

KEYWORD

nonn,tabf,easy

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Aug 05 2005

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

Content is available under The OEIS End-User License Agreement .

Last modified February 16 15:27 EST 2012. Contains 205930 sequences.