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”).

A122905
Numbers m such that in Z/mZ the number of squares is strictly greater than the number of invertible elements.
5
2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54, 58, 62, 66, 74, 78, 82, 86, 94, 98, 102, 106, 114, 118, 122, 134, 138, 142, 146, 150, 158, 162, 166, 174, 178, 186, 194, 202, 206, 214, 218, 222, 226, 242, 246, 250, 254, 258, 262, 274, 278, 282, 294, 298, 302
OFFSET
1,1
COMMENTS
Numbers m such that A000224(m) > A000010(m).
LINKS
MATHEMATICA
Select[Range@310, Length@Union@Mod[Range[#]^2, #] > EulerPhi[#] &] (* Ivan Neretin, Dec 14 2016 *)
f1[p_, e_] := Floor[p^(e+1)/(2p + 2)] + 1; f1[2, e_] := Floor[2^e/6] + 2; f[p_, e_] := f1[p, e]/((p-1) * p^(e-1)); q[1] = False; q[k_] := Times @@ f @@@ FactorInteger[k] > 1; Select[Range[300], q] (* Amiram Eldar, Nov 11 2024 *)
CROSSREFS
Complement of A122906 in positive integers.
Sequence in context: A130824 A016825 A161718 * A132417 A103747 A333662
KEYWORD
nonn
AUTHOR
Max Alekseyev, Sep 18 2006
STATUS
approved