login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010410 Squares mod 49. 1
0, 1, 2, 4, 8, 9, 11, 15, 16, 18, 22, 23, 25, 29, 30, 32, 36, 37, 39, 43, 44, 46 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

Table of n, a(n) for n=1..22.

FORMULA

a(n) = a(n-1) + a(n-3) - a(n-4) for 5 < n <= 22. - Chai Wah Wu, Jan 30 2018

MATHEMATICA

Union[PowerMod[Range[49], 2, 49]] (* Alonso del Arte, Jan 07 2020 *)

PROG

(Sage) [quadratic_residues(49)] # Zerinvary Lajos, May 24 2009

(Scala) (1 to 49).map(n => n * n % 49).toSet.toSeq.sorted // Alonso del Arte, Jan 07 2020

CROSSREFS

Cf. A028762.

Row 49 of A096008.

Sequence in context: A035268 A035241 A034036 * A010459 A233999 A047350

Adjacent sequences:  A010407 A010408 A010409 * A010411 A010412 A010413

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 24 18:08 EDT 2021. Contains 348233 sequences. (Running on oeis4.)