login
The OEIS is supported by
the many generous donors to the OEIS Foundation
.
Hints
(Greetings from
The On-Line Encyclopedia of Integer Sequences
!)
A010401
Squares mod 40.
1
0, 1, 4, 9, 16, 20, 24, 25, 36
(
list
;
graph
;
refs
;
listen
;
history
;
text
;
internal format
)
OFFSET
1,3
LINKS
Table of n, a(n) for n=1..9.
MATHEMATICA
Union[PowerMod[Range[40], 2, 40]] (*
Vincenzo Librandi
, Dec 27 2019 *)
PROG
(Sage) [quadratic_residues(40)] #
Zerinvary Lajos
, May 24 2009
(Scala) (1 to 40).map(n => n * n % 40).toSet.toSeq.sorted //
Alonso del Arte
, Feb 20 2020
CROSSREFS
Cf.
A028753
.
Sequence in context:
A313328
A313329
A313330
*
A313331
A313332
A313333
Adjacent sequences:
A010398
A010399
A010400
*
A010402
A010403
A010404
KEYWORD
nonn
,
fini
,
full
,
easy
AUTHOR
N. J. A. Sloane
STATUS
approved
Lookup
|
Welcome
|
Wiki
|
Register
|
Music
|
Plot 2
|
Demos
|
Index
|
Browse
|
More
|
WebCam
Contribute new seq. or comment
|
Format
|
Style Sheet
|
Transforms
|
Superseeker
|
Recents
The OEIS Community
| Maintained by
The OEIS Foundation Inc.
License Agreements, Terms of Use, Privacy Policy.
.
Last modified April 25 09:56 EDT 2024. Contains 371967 sequences. (Running on oeis4.)