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!)
A070292 a(n) = lcm(12,n)/gcd(12,n). 4
12, 6, 4, 3, 60, 2, 84, 6, 12, 30, 132, 1, 156, 42, 20, 12, 204, 6, 228, 15, 28, 66, 276, 2, 300, 78, 36, 21, 348, 10, 372, 24, 44, 102, 420, 3, 444, 114, 52, 30, 492, 14, 516, 33, 60, 138, 564, 4, 588, 150, 68, 39, 636, 18, 660, 42, 76, 174, 708, 5, 732, 186, 84, 48 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,-1).
FORMULA
a(n) = A109053(n)/A109015(n) = 12*n/A109015(n)^2. - R. J. Mathar, Feb 12 2019
a(n) = 2*a(n-12) - a(n-24). - R. J. Mathar, Feb 12 2019
G.f.: x*(12 + 6*x + 4*x^2 + 3*x^3 + 60*x^4 + 2*x^5 + 84*x^6 + 6*x^7 + 12*x^8 + 30*x^9 + 132*x^10 + x^11 + 132*x^12 + 30*x^13 + 12*x^14 + 6*x^15 + 84*x^16 + 2*x^17 + 60*x^18 + 3*x^19 + 4*x^20 + 6*x^21 + 12*x^22) / (x^24 - 2*x^12 + 1). - Colin Barker, Mar 05 2019
Sum_{k=1..n} a(k) ~ (703/288)*n^2. - Amiram Eldar, Oct 07 2023
PROG
(PARI) for(n=1, 100, print1(lcm(12, n)/gcd(n, 12), ", "))
(PARI) Vec(x*(12 + 6*x + 4*x^2 + 3*x^3 + 60*x^4 + 2*x^5 + 84*x^6 + 6*x^7 + 12*x^8 + 30*x^9 + 132*x^10 + x^11 + 132*x^12 + 30*x^13 + 12*x^14 + 6*x^15 + 84*x^16 + 2*x^17 + 60*x^18 + 3*x^19 + 4*x^20 + 6*x^21 + 12*x^22) / (x^24 - 2*x^12 + 1) + O(x^60)) \\ Colin Barker, Mar 05 2019
(Python)
from math import gcd, lcm
def a(n): return lcm(12, n)//gcd(12, n)
print([a(n) for n in range(1, 65)]) # Michael S. Branicky, Dec 06 2021
CROSSREFS
Sequence in context: A131570 A033332 A051725 * A283880 A084067 A240537
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, May 10 2002
EXTENSIONS
More terms from Benoit Cloitre, May 16 2002
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 23 20:54 EDT 2024. Contains 372765 sequences. (Running on oeis4.)