Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
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!)
A089145 Greatest common divisor of n^2-3 and n^2+3. 3
3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
From Colin Barker, Dec 11 2019: (Start)
G.f.: (3 + 2*x + x^2 + 6*x^3 + x^4 + 2*x^5) / ((1 - x)*(1 + x)*(1 - x + x^2)*(1 + x + x^2)).
a(n) = a(n-6) for n>5.
(End)
PROG
(PARI) g(n) = for(x=0, n, print1(gcd(x^2-3, x^2+3)", "))
(PARI) Vec((3 + 2*x + x^2 + 6*x^3 + x^4 + 2*x^5) / ((1 - x)*(1 + x)*(1 - x + x^2)*(1 + x + x^2)) + O(x^80)) \\ Colin Barker, Dec 11 2019
CROSSREFS
Sequence in context: A248033 A318254 A002130 * A324644 A364256 A361470
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Dec 05 2003
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 September 8 19:56 EDT 2024. Contains 375759 sequences. (Running on oeis4.)