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.

A180593 Digital root of 3n.

Original entry on oeis.org

0, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6, 9, 3, 6
Offset: 0

Views

Author

Odimar Fabeny, Sep 10 2010

Keywords

Comments

Decimal expansion of 41/1110. - Enrique Pérez Herrero, Nov 13 2021

Crossrefs

Cf. A008585 (3*n), A010888 (digital root), A002277.

Programs

  • Mathematica
    digitalRoot[n_Integer?Positive] := FixedPoint[Plus@@IntegerDigits[#]&,n]; Table[If[n==0,0,digitalRoot[3*n]], {n,0,200}] (* Vladimir Joseph Stephan Orlovsky, May 02 2011 *)
    LinearRecurrence[{0,0,1},{0,3,6,9},120] (* Harvey P. Dale, Sep 03 2020 *)

Formula

a(n+1) = 3*A010882(n). - Reinhard Zumkeller, Oct 25 2010
G.f.: (-3*(1 + 2*x + 3*x^2))/(-1 + x^3) for n>0. - Alexander R. Povolotsky, Jun 13 2012
a(n) = A010888(A002277(n)). - Enrique Pérez Herrero, Nov 24 2022
a(n) = A010888(A008585(n)). - Michel Marcus, Nov 24 2022

Extensions

Edited by N. J. A. Sloane, Sep 23 2010