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.

Showing 1-2 of 2 results.

A329238 Carmichael quotients to base 2: a(n) = (2^lambda(2*n-1)-1)/(2*n-1), where lambda is the Carmichael lambda function (A002322).

Original entry on oeis.org

1, 1, 3, 9, 7, 93, 315, 1, 3855, 13797, 3, 182361, 41943, 9709, 9256395, 34636833, 31, 117, 1857283155, 105, 26817356775, 102280151421, 91, 1497207322929, 89756051247, 1285, 84973577874915, 19065, 4599, 4885260612740877, 18900352534538475, 1, 63, 1101298153654301589
Offset: 1

Views

Author

Amiram Eldar, Nov 08 2019

Keywords

Examples

			a(3) = (2^lambda(2*3 - 1) - 1)/(2*3 - 1) = (2^lambda(5) - 1)/5 = (2^4 - 1)/5 = 3.
		

Crossrefs

Programs

  • Mathematica
    a[n_] := (2^CarmichaelLambda[n] - 1)/n; Table[a[n], {n, 1, 67, 2}]

A329706 Odd numbers k such that Sum_{j=1..(k-1)/2, gcd(j,k)=1} 1/j == -2*q_2(k) + k*q_2(k)^2 (mod k^3), where q_2(k) = (2^phi(k) - 1)/k is the Euler quotient of k to base 2.

Original entry on oeis.org

1, 3, 597, 609, 1791, 2035, 3403, 3701, 4263, 27515, 27955
Offset: 1

Views

Author

Amiram Eldar, Feb 28 2020

Keywords

Comments

Emma Lehmer proved that Sum_{j=1..(p-1)/2} 1/j == -2*q_2(p) + p*q_2(p)^2 (mod p^2) for all odd primes p.
Tianxin Cai generalized Lehmer's congruence and proved that Sum_{j=1..(k-1)/2, gcd(j,k)=1} 1/j == -2*q_2(k) + k*q_2(k)^2 (mod k^2) for all odd numbers k.
This sequence includes the odd numbers k for which the congruence is still valid when (mod k^2) is being replaced with (mod k^3).
The prime terms are 3, 3701, ...
No more terms below 147000.

Crossrefs

Programs

  • Mathematica
    q[n_] := (2^EulerPhi[n] - 1)/n; Select[Range[1, 2100, 2], Divisible[Numerator[Sum[Boole @ CoprimeQ[j, #]/j, {j, 1, (# - 1)/2}] + 2*q[#] - #*q[#]^2], #^3] &]
Showing 1-2 of 2 results.