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!)
A331758 A331757(n)/2. 0
4, 14, 40, 89, 186, 327, 562, 891, 1362, 1957, 2790, 3813, 5176, 6795, 8770, 11105, 14020, 17335, 21380, 25981, 31306, 37247, 44254, 52021, 60956, 70767, 81832, 93971, 107818, 122745, 139630, 158011, 178228, 199949, 223806, 249349, 277676, 307887 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Table[(n^2 + 4n + 1 + Sum[Sum[(2 * Boole[GCD[i, j] == 1] - Boole[GCD[i, j] == 2]) * (n + 1 - i) * (n + 1 - j), {j, 1, n}], {i, 1, n}]) / 2, {n, 1, 38}] (* Joshua Oliver, Feb 05 2020 *)
CROSSREFS
Cf. A331757.
Sequence in context: A144141 A187594 A326482 * A291675 A066375 A093160
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 04 2020
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 June 1 03:43 EDT 2024. Contains 373008 sequences. (Running on oeis4.)