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!)
A162868 Least common multiple of all squares and all sums of two squares up to n^2 + n^2. 0
1, 2, 40, 4680, 1591200, 1891936800, 4270101357600, 11089453225687200, 32565776278494961756800, 28429922691126101613686400, 42204464874461454985621846571472000 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Also the least common multiple of all rows of triangle A069011 up to the n-th row.

lcm(0) is taken to be 1, which follows from 0! = 1.

LINKS

Table of n, a(n) for n=0..10.

FORMULA

a(n) = lcm({ x,y:N | 0 <= x <= y <= n; x^2+y^2 })

EXAMPLE

a(3) = lcm(0^2+0^2; 0^2+1^2, 1^2+1^2; 0^2+2^2, 1^2+2^2, 2^2+2^2; 0^2+3^2, 1^2+3^2, 2^2+3^2, 3^2+3^2) = lcm(0; 1, 2; 4, 5, 8; 9, 10, 13, 18) = 4680.

PROG

(PARI) a(n) = {mcl = 1; for (x = 0, n, for (y = 0, n, if (v = x^2+y^2, mcl = lcm(mcl, v)); ); ); mcl; } \\ Michel Marcus, Sep 03 2013

CROSSREFS

Cf. A069011, A001481.

Sequence in context: A293950 A104134 A328553 * A059476 A306839 A297385

Adjacent sequences:  A162865 A162866 A162867 * A162869 A162870 A162871

KEYWORD

easy,nonn

AUTHOR

Carl R. White, Jul 15 2009

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 September 18 03:39 EDT 2020. Contains 337164 sequences. (Running on oeis4.)