login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 60th year, we have over 367,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A018841 Number of steps for {2,3} fairy knight to reach (n,n) on infinite chessboard. 1
0, 2, 4, 6, 4, 2, 4, 6, 6, 6, 4, 6, 6, 6, 8, 6, 8, 8, 8, 10, 8, 10, 10, 10, 12, 10, 12, 12, 12, 14, 12, 14, 14, 14, 16, 14, 16, 16, 16, 18, 16, 18, 18, 18, 20, 18, 20, 20, 20, 22, 20, 22, 22, 22, 24, 22, 24, 24, 24, 26, 24, 26, 26, 26, 28, 26, 28, 28, 28, 30, 28, 30, 30, 30, 32, 30, 32, 32 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
For n >= 14, a(n) = a(n-5) + 2. - David W. Wilson
From Colin Barker, Jan 04 2018: (Start)
G.f.: 2*x*(1 + x + x^2 - x^3 - x^4 - x^7 + x^8 - x^11 + x^13) / ((1 - x)^2*(1 + x + x^2 + x^3 + x^4)).
a(n) = a(n-1) + a(n-5) - a(n-6) for n>5.
(End)
PROG
(PARI) concat(0, Vec(2*x*(1 + x + x^2 - x^3 - x^4 - x^7 + x^8 - x^11 + x^13) / ((1 - x)^2*(1 + x + x^2 + x^3 + x^4)) + O(x^40))) \\ Colin Barker, Jan 04 2018
CROSSREFS
Sequence in context: A367198 A317310 A231655 * A182043 A337937 A138125
KEYWORD
nonn,easy
AUTHOR
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 December 3 17:32 EST 2023. Contains 367540 sequences. (Running on oeis4.)