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.

A336697 a(n) = gcd((s+1)/2, 1+sigma(s)), where s is the n-th odd square, (2n-1)^2.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 13, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
Offset: 1

Views

Author

Antti Karttunen, Aug 18 2020

Keywords

Comments

See comments in A336700, A337337, and A337339.

Crossrefs

Programs

  • Mathematica
    Array[GCD[(# + 1)/2, 1 + DivisorSigma[1, #]] &[(2 # - 1)^2] &, 120] (* Michael De Vlieger, Aug 24 2020 *)
  • PARI
    A336697(n) = { my(s=((n+n-1)^2)); gcd((s+1)/2,1+sigma(s)); };

Formula

For all n >= 1, a(A048673(n)) = A337337(n).