login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A083344
a(n) = A082457(n) - A066715(n) = gcd(2n+1, A057643(2n+1)) - gcd(2n+1, A000203(2n+1)).
4
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0, 30, 0, 0, 0, 0, 0, 0, 4, 0, 0
OFFSET
1,22
LINKS
FORMULA
a(n) = gcd(2n+1, lcm(1+D(2n+1))) - gcd(2n+1, sigma(2n+1)), gcd(2n+1, A057643(2n+1)) - gcd(2n+1, A000203(2n+1)), where D(x) is the set of divisors of x.
EXAMPLE
n=22: 2n+1 = 45, A057643(45) = 5520, a(22) = gcd(45,5520) = 15 while A066715(45) = 3; a(22) = 15-3 = 12; sites where nonzero terms appear see in A082452.
MATHEMATICA
di[x_] := Apply[LCM, Divisors[x]+1] (*A066715=*)t1=Table[GCD[2*n+1, DivisorSigma[1, 2*n+1]], {n, 1, 2048}]; (*A082457=*)t2=Table[GCD[2*w+1, di[1+2*w]], {w, 1, 2048}]; (*A083344=*)t2-t1;
PROG
(PARI) a(n)=gcd(lcm(apply(d->d+1, divisors(2*n+1))), 2*n+1)-gcd(sigma(2*n+1), 2*n+1) \\ Charles R Greathouse IV, Feb 14 2013
CROSSREFS
KEYWORD
sign
AUTHOR
Labos Elemer, Apr 25 2003
STATUS
approved