The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A130119 a(n) = gcd(n^2 - 19, 45). 0
9, 15, 5, 3, 3, 1, 15, 45, 1, 9, 3, 5, 15, 3, 1, 3, 45, 5, 9, 3, 1, 15, 15, 1, 3, 9, 5, 45, 3, 1, 3, 15, 5, 3, 9, 1, 45, 15, 1, 3, 3, 5, 15, 9, 1, 9, 15, 5, 3, 3, 1, 15, 45, 1, 9, 3, 5, 15, 3, 1, 3, 45, 5, 9, 3, 1, 15, 15, 1, 3, 9, 5, 45, 3, 1, 3, 15, 5, 3, 9, 1, 45, 15, 1, 3, 3, 5, 15, 9, 1, 9, 15, 5, 3, 3, 1, 15, 45, 1, 9, 3, 5, 15, 3, 1, 3, 45, 5, 9, 3, 1, 15 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Has period of length 45: 9,15,5,3,3,1,15,45,1,9,3,5,15,3,1,3,45,5,9,3,1,15,15,1,3,9,5,45,3,1,3,15,5,3,9,1,45,15,1,3,3,5,15,9,1.
LINKS
FORMULA
a(n) = gcd((7n^2+2), (2n^2+7)).
MATHEMATICA
Table[GCD[n^2 - 19, 45], {n, 1, 100}] (* Stefan Steinerberger, May 17 2007 *)
PROG
(PARI) a(n) = gcd(n^2 - 19, 45); \\ Michel Marcus, Mar 23 2016
CROSSREFS
Sequence in context: A370674 A131224 A073920 * A346609 A232395 A184048
KEYWORD
nonn
AUTHOR
Zak Seidov, May 14 2007, corrected May 16 2007
EXTENSIONS
Better definition from Stefan Steinerberger, May 17 2007
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 May 21 11:59 EDT 2024. Contains 372736 sequences. (Running on oeis4.)