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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A066616 a(1) = 1; a(n) = n*a(n-1) if n does not divide a(n-1), otherwise a(n) = a(n-1). 3
1, 2, 6, 24, 120, 120, 840, 840, 7560, 7560, 83160, 83160, 1081080, 1081080, 1081080, 17297280, 294053760, 294053760, 5587021440, 5587021440, 5587021440, 5587021440, 128501493120, 128501493120, 3212537328000, 3212537328000 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Harry J. Smith, Table of n, a(n) for n = 1..200

EXAMPLE

a(5) = 120; as 6 divides a(5), we have a(6) = a(5) = 120. Though 9 is not coprime to a(8) but still 9 does not divide a(8) so a(9) = a(8).

PROG

(PARI) { for (n=1, 200, if (n==1, a=1, if (a%n, a=n*a)); write("b066616.txt", n, " ", a) ) } \\ Harry J. Smith, Mar 12 2010

CROSSREFS

Cf. A037992.

Sequence in context: A242427 A319545 A297204 * A319206 A190393 A263709

Adjacent sequences:  A066613 A066614 A066615 * A066617 A066618 A066619

KEYWORD

nonn

AUTHOR

Amarnath Murthy, Dec 24 2001

EXTENSIONS

More terms from Vladeta Jovovic, Dec 26 2001

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 March 18 17:51 EDT 2019. Contains 321292 sequences. (Running on oeis4.)