cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A181858 a(n) = lcm(n^2, n!) / lcm(n^2, swinging_factorial(n)).

This page as a plain text file.
%I A181858 #25 Jun 18 2019 03:15:40
%S A181858 1,1,1,1,1,4,4,36,18,64,576,14400,43200,518400,518400,5080320,
%T A181858 12700800,1625702400,1625702400,131681894400,131681894400,
%U A181858 627056640000,13168189440000,1593350922240000
%N A181858 a(n) = lcm(n^2, n!) / lcm(n^2, swinging_factorial(n)).
%C A181858 A divisibility sequence, i.e., if m|n then a(m)|a(n). Except for n = 9 the prime factors of A181858(n) are the primes <= floor((n-1)/2). Using this fact the divisibility property can be proved. - _Peter Luschny_, Jan 10 2011
%H A181858 <a href="/index/Di#divseq">Index to divisibility sequences</a>
%F A181858 a(n) = A181857(n) / A181860(n).
%p A181858 A181858 := n -> `if`(n=0, 1, ilcm(n^2,n!)/ilcm(n^2,n!/iquo(n,2)!^2));
%t A181858 a[n_] := If[n == 0, 1, LCM[n^2, n!]/LCM[n^2, n!/Quotient[n, 2]!^2]];
%t A181858 Table[a[n], {n, 0, 23}] (* _Jean-François Alcover_, Jun 18 2019 *)
%o A181858 (PARI) a(n)=lcm(n^2,n!)/lcm(n!/(n\2)!^2,n^2) \\ _Charles R Greathouse IV_, Feb 01 2013
%Y A181858 Cf. A000290, A056040, A170826, A181857, A181860.
%K A181858 nonn
%O A181858 0,6
%A A181858 _Peter Luschny_, Nov 21 2010