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!)
A120109 Row sums of number triangle A120108. 3

%I #23 May 05 2023 01:44:09

%S 1,3,10,21,106,107,750,1501,4504,4505,49556,49557,644242,644243,

%T 644244,1288489,21904314,21904315,416181986,416181987,416181988,

%U 416181989,9572185748,9572185749,47860928746,47860928747,143582786242

%N Row sums of number triangle A120108.

%C It appears that the indices k such that a(k) = a(k-1) + 1 are A080765. - _Michel Marcus_, Mar 04 2019

%H Muniru A Asiru, <a href="/A120109/b120109.txt">Table of n, a(n) for n = 0..1000</a>

%F a(n) = Sum_{k=0..n} lcm(1,...,n+1)/lcm(1,...,k+1).

%t A120108[n_, k_]:= LCM@@Range[n+1]/(LCM@@Range[k+1]);

%t A120109[n_]:= Sum[A120108[n, k], {k,0,n}];

%t Table[A120109[n], {n,0,50}] (* _G. C. Greubel_, May 04 2023 *)

%o (GAP) List([0..30],n->Sum([0..n],k->Lcm(List([1..n+1],i->i))/Lcm(List([1..k+1],i->i)))); # _Muniru A Asiru_, Mar 03 2019

%o (PARI) a(n) = lcm([1..n+1])*sum(k=0, n, 1/lcm([1..k+1])); \\ _Michel Marcus_, Mar 04 2019

%o (Magma)

%o A120108:= func< n,k | Lcm([1..n+1])/Lcm([1..k+1]) >;

%o [(&+[A120108(n,k): k in [0..n]]): n in [0..50]]; // _G. C. Greubel_, May 04 2023

%o (SageMath)

%o def f(n): return lcm(range(1,n+2))

%o def A120109(n):

%o return sum(f(n)//f(k) for k in range(n+1))

%o [A120109(n) for n in range(51)] # _G. C. Greubel_, May 04 2023

%Y Cf. A080765, A120108, A120110.

%K easy,nonn

%O 0,2

%A _Paul Barry_, Jun 09 2006

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 July 22 00:58 EDT 2024. Contains 374478 sequences. (Running on oeis4.)