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.

A120437 Differences of A037314 (sum of base-3 digits of n = sum of base-9 digits of n).

Original entry on oeis.org

1, 1, 7, 1, 1, 7, 1, 1, 61, 1, 1, 7, 1, 1, 7, 1, 1, 61, 1, 1, 7, 1, 1, 7, 1, 1, 547, 1, 1, 7, 1, 1, 7, 1, 1, 61, 1, 1, 7, 1, 1, 7, 1, 1, 61, 1, 1, 7, 1, 1, 7, 1, 1, 547, 1, 1, 7, 1, 1, 7, 1, 1, 61, 1, 1, 7, 1, 1, 7, 1, 1, 61, 1, 1, 7, 1, 1, 7, 1, 1
Offset: 1

Views

Author

John W. Layman, Jul 17 2006

Keywords

Comments

It appears that sign(a(n+1) - a(n)) gives A102283. - Filip Zaludek, Oct 29 2016
This is clear: a(n) = 1 for n == 1 or 2 (mod 3), and a(n) >= 7 for n == 0 (mod 3): see comment by Franklin T. Adams-Watters on A037314. - Robert Israel, Nov 06 2016

Crossrefs

Programs

Formula

It appears that the sequence is given by the following recursion: a(n)=1 if n=1, a(n)=9a(3^(k-1))-2 if n=3^k for some k>0, a(n)=a(n-3^(k-1)) if 3^(k-1)0. This recursion formula has been verified for n<=2000.
a(n) = A066443(A007949(n)). (This is equivalent to the conjectured recursion above; that recursion is correct.) - Franklin T. Adams-Watters, Jul 24 2006
G.f. g(x) satisfies g(x) = 9 g(x^3) + x*(1+2*x)/(1+x+x^2). - Robert Israel, Nov 06 2016