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.

A370826 a(n) are the denominators corresponding to A370825(n).

Original entry on oeis.org

2, 1, 14, 1, 62, 3, 254, 17, 1022, 31, 178, 3, 16382, 5461, 65534, 257, 262142, 657, 1048574, 1271, 4194302, 60787, 356962, 12291, 67108862, 22369621, 268435454, 617093, 1073741822, 149943, 4294967294, 16843009, 746950834, 5726623061, 967879954, 981, 274877906942
Offset: 1

Views

Author

Hugo Pfoertner, Mar 08 2024

Keywords

Comments

See A370825 for more information.

Examples

			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.
		

Crossrefs

A370825 are the corresponding numerators.

Programs

  • Mathematica
    Array[Denominator[3/4*(3^#-1)/(2^#-1)] &, 50] (* Paolo Xausa, Mar 11 2024 *)
  • PARI
    a370826(n) = denominator((3/4) * (3^n - 1) / (2^n - 1));
    
  • Python
    from math import gcd
    def A370826(n): return (a:=(1<>1) # Chai Wah Wu, Mar 10 2024

Formula

A370825(n)/a(n) = (3/4) * (3^n - 1) / (2^n - 1).