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.

A037688 Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,0,3.

Original entry on oeis.org

1, 6, 24, 99, 397, 1590, 6360, 25443, 101773, 407094, 1628376, 6513507, 26054029, 104216118, 416864472, 1667457891, 6669831565, 26679326262, 106717305048, 426869220195, 1707476880781, 6829907523126, 27319630092504
Offset: 1

Views

Author

Keywords

Programs

  • Mathematica
    Table[FromDigits[PadRight[{},n,{1,2,0,3}],4],{n,30}] (* Harvey P. Dale, Mar 06 2024 *)

Formula

G.f.: ( x*(1+2*x+3*x^3) ) / ( (x-1)*(4*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Oct 11 2015