OFFSET
1,2
COMMENTS
Numbers n such that the multiplicative group of residues modulo n does not contain C4 as a subgroup. Equivalently, numbers not divisible by 16 or by any primes of the form 4k+1. - Ivan Neretin, Aug 02 2016
From Jianing Song, Oct 18 2021: (Start)
Numbers k such that psi(k) = A002322(k) is not divisible by 4.
Numbers k such that there are an odd number of coprime squares modulo k, i.e., numbers k such that A046073(k) is odd. (End)
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Modulo Multiplication Group.
MAPLE
filter:= n -> n mod 16 <> 0 and not member(1, numtheory:-factorset(n) mod 4):
select(filter, [$1..1000]); # Robert Israel, Aug 02 2016
MATHEMATICA
Select[Range@135, ! Divisible[#, 16] && FreeQ[Mod[FactorInteger[3 #][[All, 1]], 4], 1] &] (* Ivan Neretin, Aug 02 2016 *)
PROG
(PARI) isA081754(n) = if(n>2, znstar(n)[2][1]%4==2, 1) \\ Jianing Song, Oct 18 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Apr 08 2003
STATUS
approved