login
A397387
Sophie Germain cyclic numbers: numbers k such that k and 2*k+1 are both cyclic numbers (A003277).
1
1, 2, 3, 5, 7, 11, 15, 17, 23, 29, 33, 35, 41, 43, 47, 51, 53, 59, 61, 65, 69, 71, 79, 83, 89, 95, 107, 113, 119, 123, 127, 131, 133, 141, 143, 149, 151, 159, 161, 167, 173, 179, 185, 191, 197, 209, 213, 215, 217, 221, 223, 227, 233, 239, 249, 251, 255, 257
OFFSET
1,2
COMMENTS
A number k is cyclic (A003277) if and only if every group of order k is cyclic, equivalently if and only if gcd(k, A000010(k)) = 1, where A000010 is Euler's totient.
By analogy with the Sophie Germain primes (A005384), k is a Sophie Germain cyclic number if and only if both k and 2*k+1 are cyclic. Introduced by J. E. Cohen (2025).
C. Pomerance has announced (see Cohen, 2025) a proof that this sequence is infinite, with the number of terms not exceeding x asymptotic to c*x/(exp(gamma)*log(log(log(x))))^2 for some constant c > 0, where gamma is the Euler-Mascheroni constant.
LINKS
Joel E. Cohen, Conjectures about primes and cyclic numbers, arXiv:2508.08335 [math.NT], 2025.
Josué Alexander Ibarra, A counterexample to a subadditivity conjecture of Cohen for Sophie Germain cyclic numbers, arXiv:2607.09793 [math.NT], 2026.
EXAMPLE
15 is a term: both 15 and 2*15+1 = 31 are cyclic, since gcd(15, phi(15)) = gcd(15, 8) = 1 and gcd(31, phi(31)) = gcd(31, 30) = 1.
13 is not a term: 13 is cyclic, but 2*13+1 = 27 is not, since gcd(27, phi(27)) = gcd(27, 18) = 9 <> 1.
MAPLE
cyc := n -> igcd(n, numtheory:-phi(n)) = 1:
select(n -> cyc(n) and cyc(2*n+1), [$1..300]);
MATHEMATICA
cyclicQ[n_] := GCD[n, EulerPhi[n]] == 1;
Select[Range[300], cyclicQ[#] && cyclicQ[2 # + 1] &]
PROG
(PARI)
iscyc(k) = gcd(k, eulerphi(k))==1
isok(k) = iscyc(k) && iscyc(2*k+1)
select(isok, [1..300])
(Python)
from sympy import totient
from math import gcd
cyc = lambda n: gcd(n, totient(n)) == 1
print([n for n in range(1, 301) if cyc(n) and cyc(2*n + 1)])
CROSSREFS
Cf. A003277 (cyclic numbers), A005384 (Sophie Germain primes), A000010 (Euler totient).
Subsequence of A117204.
Sequence in context: A106532 A240556 A090693 * A260794 A277576 A260164
KEYWORD
nonn,easy
AUTHOR
STATUS
approved