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.

A270390 Greatest common divisor of 2^n-1 and 5^n-1.

Original entry on oeis.org

1, 3, 1, 3, 1, 63, 1, 3, 1, 33, 1, 819, 1, 3, 31, 51, 1, 3591, 1, 1353, 1, 69, 1, 819, 1, 3, 1, 87, 1, 21483, 1, 51, 1, 3, 71, 1727271, 1, 3, 79, 1353, 1, 2408301, 1, 6141, 31, 141, 1, 13923, 1, 8283, 1, 159, 1, 10773, 1, 87, 1, 177, 1, 698476779, 1, 3, 1, 32691, 1
Offset: 1

Views

Author

Tom Edgar, Mar 16 2016

Keywords

Comments

Ailon and Rudnick conjecture that a(n) = 1 infinitely often.

Examples

			For n=3, 2^3-1 = 7 and 5^3-1 = 124, thus a(3) = gcd(7,124) = 1.
		

Crossrefs

Programs

  • Maple
    seq(igcd(2^n-1, 5^n-1), n=1..100);
  • Mathematica
    Table[GCD[2^n - 1, 5^n - 1], {n, 100}]
  • PARI
    vector(100,n,gcd(2^n-1,5^n-1))
  • Sage
    [gcd(2^n-1,5^n-1) for n in [1..100]]
    

Formula

a(n) = gcd(2^n - 1, 5^n - 1).
a(n) = gcd(A000225(n), A024049(n)).