cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A003476 a(n) = a(n-1) + 2*a(n-3).

Original entry on oeis.org

1, 2, 3, 5, 9, 15, 25, 43, 73, 123, 209, 355, 601, 1019, 1729, 2931, 4969, 8427, 14289, 24227, 41081, 69659, 118113, 200275, 339593, 575819, 976369, 1655555, 2807193, 4759931, 8071041, 13685427, 23205289, 39347371, 66718225, 113128803, 191823545, 325259995
Offset: 1

Views

Author

Keywords

References

  • D. E. Daykin and S. J. Tucker, Introduction to Dragon Curves. Unpublished, 1976. See links in A003229 for an earlier version.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Programs

  • Maple
    A003476:=-(1+z+z**2)/(-1+z+2*z**3); # Simon Plouffe in his 1992 dissertation
  • Mathematica
    LinearRecurrence[{1,0,2},{1,2,3},30] (* Harvey P. Dale, Jun 01 2020 *)
  • PARI
    my(P=Mod('x,'x^3-'x^2-2)); a(n) = subst(lift(P^n),'x,2) >> 1; \\ Kevin Ryde, Oct 16 2021

Formula

a(n) = A003229(n-1) + A052537(n-2).
a(n) = (1/4)*abs(A078044(n+2)).