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.

A064629 a(n) = 4^n mod 3^n.

Original entry on oeis.org

0, 1, 7, 10, 13, 52, 451, 1075, 6487, 6265, 44743, 119923, 302545, 147298, 589192, 11922706, 33341917, 4227505, 146050183, 584200732, 1174541461, 4698165844, 18792663376, 43789593895, 175158375580, 700633502320, 1955245399837, 2737249942690, 18574597255747
Offset: 0

Views

Author

Labos Elemer, Oct 01 2001

Keywords

Comments

(a(n+1) - 4*a(n))/3^n is always one of -3, -2, -1, 0, 1, 2. - Robert Israel, Dec 01 2016

Crossrefs

Cf. k^n mod (k-1)^n: A002380 (k=3), this sequence (k=4), A138589 (k=5), A138649 (k=6), A139786 (k=7), A138973 (k=8), A139733 (k=9).

Programs

Extensions

a(26) from Harry J. Smith, Sep 20 2009