OFFSET
1,1
COMMENTS
See A370825 for more information.
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..2000
FORMULA
A370825(n)/a(n) = (3/4) * (3^n - 1) / (2^n - 1).
EXAMPLE
A370825(n)/a(n) for n=1..14: 3/2, 2, 39/14, 4, 363/62, 26/3, 3279/254, 328/17, 29523/1022, 1342/31, 11553/178, 292/3, 2391483/16382, 1195742/5461.
MATHEMATICA
Array[Denominator[3/4*(3^#-1)/(2^#-1)] &, 50] (* Paolo Xausa, Mar 11 2024 *)
PROG
(PARI) a370826(n) = denominator((3/4) * (3^n - 1) / (2^n - 1));
(Python)
from math import gcd
def A370826(n): return (a:=(1<<n+1)-2)//gcd(a, 3**(n+1)-3>>1) # Chai Wah Wu, Mar 10 2024
CROSSREFS
KEYWORD
nonn,frac,easy
AUTHOR
Hugo Pfoertner, Mar 08 2024
STATUS
approved