OFFSET
1,1
COMMENTS
What is the rate of growth of this sequence?
REFERENCES
S. R. Finch, Mathematical Constants, Cambridge, 2003, pp. 192-199.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..1000
Steven R. Finch, Powers of 3/2 Modulo One [From Steven Finch, Apr 20 2019]
Steven R. Finch, Non-Ideal Waring's Problem [From Steven Finch, Apr 20 2019]
Jeff Lagarias, 3x+1 Problem
EXAMPLE
a(3) = 5 since frac((3/2)^3) = [0;2,1,2] and a(3) = 2 + 1 + 2.
PROG
(PARI) a(n) = {cf = contfrac((3/2)^n); return (sum(i=2, #cf, cf[i])); } \\ Michel Marcus, Aug 01 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Jun 11 2002
EXTENSIONS
Name corrected by Sean A. Irvine, Jul 11 2024
STATUS
approved