[go: up one dir, main page]

login
Search: a028785 -id:a028785
     Sort: relevance | references | number | modified | created      Format: long | short | data
Squares mod 72.
+10
1
0, 1, 4, 9, 16, 25, 28, 36, 40, 49, 52, 64
OFFSET
1,3
MATHEMATICA
Union[PowerMod[Range[72], 2, 72]] (* Alonso del Arte, Dec 24 2019 *)
PROG
(Sage) [quadratic_residues(72)] # Zerinvary Lajos, May 24 2009
(Scala) (1 to 72).map(n => (n * n) % 72).toSet.toSeq.sorted // Alonso del Arte, Dec 24 2019
(PARI) Set(lift(apply(sqr, Mod([1..16], 72)))) \\ Charles R Greathouse IV, Dec 24 2019
CROSSREFS
Cf. A028785.
KEYWORD
nonn,fini,full,easy
STATUS
approved

Search completed in 0.006 seconds