login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Today, Nov 11 2014, is the 4th anniversary of the launch of the new OEIS web site. 70,000 sequences have been added in these four years, all edited by volunteers. Please make a donation (tax deductible in the US) to help keep the OEIS running.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A079782 Final term of n-th row of triangle in A079784. 4
2, 5, 11, 11, 59, 59, 419, 839, 2519, 2519, 27719, 27719, 360359, 360359, 360359, 720719, 12252239, 12252239, 232792559, 232792559, 232792559, 232792559, 5354228879, 5354228879, 26771144399, 26771144399, 80313433199, 80313433199, 2329089562799, 2329089562799 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

For n>=4, a(n)=A003418(n)-1. Also for n<4 a(n) = smallest number equal to (i-1) mod i for any i in {1..n}. That results directly from the definition of A003418 (if p=0 mod q,p-1= (q-1)mod q) and from the first comment. - Philippe LALLOUET (philip.lallouet(AT)wanadoo.fr), Aug 29 2007

REFERENCES

a(4) = LCM([1, 2, 3, 4]) - 1 = 12 - 1 = 11. a(5) = LCM([1, 2, 3, 4, 5]) - 1 = 60 - 1 = 59. - Michael Somos, Feb 28 2014

LINKS

Table of n, a(n) for n=1..30.

MAPLE

A079782 := proc(n) local a, found, r ; a := n+1 ; while true do found := true ; for r from 1 to n do if (a+r-1) mod (n-r+1) <> 0 then found := false ; break ; fi ; od ; if found then RETURN(a+n-1) ; fi ; a :=a+1 ; od ; end: for n from 1 to 20 do print(A079782(n)) ; od ; - R. J. Mathar, Nov 12 2006

PROG

(PARI) okrow(m, n) = {v = vector(n, i, i+m-1); for (i=1, n, if (v[i] % (n-i+1), return (0)); ); return (1); }

a(n) = {m = n+1; while (! okrow(m, n), m++); m+n-1; } \\ Michel Marcus, Feb 28 2014

CROSSREFS

Cf. A079781, A079783, A079784.

Sequence in context: A062251 A091114 A155767 * A093554 A168453 A136990

Adjacent sequences:  A079779 A079780 A079781 * A079783 A079784 A079785

KEYWORD

nonn

AUTHOR

Amarnath Murthy, Feb 03 2003

EXTENSIONS

More terms from R. J. Mathar, Nov 12 2006

More terms from Michel Marcus, Feb 28 2014

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified November 24 16:46 EST 2014. Contains 249899 sequences.