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!)
A120112 Row sums of number triangle A120111. 5
1, -1, -2, -1, -4, 0, -6, -1, -2, 0, -10, 0, -12, 0, 0, -1, -16, 0, -18, 0, 0, 0, -22, 0, -4, 0, -2, 0, -28, 0, -30, -1, 0, 0, 0, 0, -36, 0, 0, 0, -40, 0, -42, 0, 0, 0, -46, 0, -6, 0, 0, 0, -52, 0, 0, 0, 0, 0, -58, 0, -60, 0, 0, -1, 0, 0, -66, 0, 0, 0, -70, 0, -72 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

The last row of the columns in tables A133232 and A133233 are given by this sequence via the formula: if n < k + k*abs(a(n)) then k, otherwise 1 (1 <= k <= n). - Mats Granvik, Jan 22 2008

LINKS

Muniru A Asiru, Table of n, a(n) for n = 0..5000

FORMULA

a(n) = 1 - lcm(1,...,n+1)/lcm(1,...,n) for n > 0.

a(n) = 1 - A014963(n+1). - Joerg Arndt, Sep 12 2016

PROG

(PARI) a(n) = if (n==0, 1, 1 - lcm(vector(n+1, k, k))/lcm(vector(n, k, k))); \\ Michel Marcus, Sep 11 2016

(GAP) Concatenation([1], List([1..70], n->1-Lcm(List([1..n+1], i->i))/Lcm(List([1..n], i->i)))); # Muniru A Asiru, Mar 04 2019

CROSSREFS

Cf. A014963, A120111, A133232, A133233.

Sequence in context: A282846 A326129 A326144 * A233150 A103977 A109883

Adjacent sequences:  A120109 A120110 A120111 * A120113 A120114 A120115

KEYWORD

easy,sign

AUTHOR

Paul Barry, Jun 09 2006

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 February 27 06:36 EST 2020. Contains 332299 sequences. (Running on oeis4.)