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.

A091137 The Hirzebruch numbers. a(n) = Product_{2 <= p <= n+1, p prime} p^floor(n / (p - 1)).

This page as a plain text file.
%I A091137 #88 Aug 19 2025 12:48:48
%S A091137 1,2,12,24,720,1440,60480,120960,3628800,7257600,479001600,958003200,
%T A091137 2615348736000,5230697472000,31384184832000,62768369664000,
%U A091137 32011868528640000,64023737057280000,51090942171709440000,102181884343418880000,33720021833328230400000,67440043666656460800000
%N A091137 The Hirzebruch numbers. a(n) = Product_{2 <= p <= n+1, p prime} p^floor(n / (p - 1)).
%C A091137 Largest number m such that number of times m divides k! is almost k/n for large k, i.e., largest m with A090624(m) = n.
%C A091137 This is always a relatively small multiple of n!, since the multiplicity with which a prime p divides n! is always <= n/(p-1); it is equal to floor(n/(p-1)) at least when n is a power of p. - _Franklin T. Adams-Watters_, May 31 2010
%C A091137 At least for most small n, a(n) = A002790(n) * n!; the first difference is n=15. It appears that A002790(n) * n! always divides a(n).
%C A091137 Conjecture: The denominators of the series reversion of the sequence with e.g.f. Polylog(2,x). - _Benedict W. J. Irwin_, Jan 05 2017
%C A091137 Not only is a(n) divisible by n!; a(n) is divisible by (n + 1)! as has been observed by Bedhouche and Bakir (see links and A363596). - _Hal M. Switkay_, Aug 15 2025
%D A091137 P. Curtz, Integration numérique ..., Note 12, C.C.S.A., Arcueil, 1969; see pp. 36, 56.
%D A091137 F. Hirzebruch, Topological Methods in Algebraic Geometry, Springer, 3rd. ed., 1966; Lemma 1.7.3, p. 14. [From _N. J. A. Sloane_, Sep 06 2010]
%H A091137 Michael De Vlieger, <a href="/A091137/b091137.txt">Table of n, a(n) for n = 0..443</a>
%H A091137 Abdelmalek Bedhouche and Bakir Farhi, <a href="https://arxiv.org/abs/2207.07957">On some products taken over the prime numbers</a>, arXiv:2207.07957 [math.NT], 2022. See sigma_n p. 3.
%H A091137 Victor M. Buchstaber and Alexander P. Veselov, <a href="https://doi.org/10.48550/arXiv.2310.07383">Todd polynomials and Hirzebruch numbers</a>, arXiv:2310.07383 [math.AT], Oct. 2023.
%H A091137 Donghyun Kim and Jaeseong Oh, <a href="https://www.arxiv.org/abs/2409.01041">Extending the science fiction and the Loehr--Warrington formula</a>, arXiv:2409.01041 [math.CO], 2024. See p. 32.
%F A091137 a(n) = Product_p {p prime} p^floor(n/(p-1)).
%F A091137 a(2n+1) = 2*a(2n).
%F A091137 a(n+1) = A027760(n+1)*a(n). - _Paul Curtz_, Aug 01 2008
%F A091137 From _Peter Luschny_, Dec 11 2023: (Start)
%F A091137 a(n) = lcm_{p in P(n)} Product_{r in p}(r + 1), where P(n) are the partitions of n.
%F A091137 a(n) = lcm(A238963row(n)).
%F A091137 a(n) = A368116(1, n), seen as the lcm of the product of the 1-shifted partitions.
%F A091137 a(n) = A368093(1, n), seen as the cumulative product of the Clausen numbers A160014(1, n).  (End)
%F A091137 a(n) = lcm({k: A275314(k) = n+1}). - _Hal M. Switkay_, Aug 13 2025
%F A091137 a(n) = (n + 1)! * A363596(n). - _Hal M. Switkay_, Aug 15 2025
%e A091137 Let n = 4. The partitions of 4 are [[4], [3, 1], [2, 2], [2, 1, 1], [1, 1, 1, 1]]. Thus a(4) = lcm([5, 4*2, 3*3, 3*2*2, 2*2*2*2]) = 720.
%p A091137 A091137 := proc(n) local a,i,p ; a := 1 ; for i from 1 do p := ithprime(i) ; if p > n+1 then break; fi; a := a*p^floor(n/(p-1)) ; od: a ; end:
%p A091137 seq(A091137(n), n = 0..47); # _R. J. Mathar_, Feb 23 2009
%t A091137 A027760[n_] := Product[d, {d, Select[ Divisors[n] + 1, PrimeQ]}]; a[n_] := a[n] = A027760[n]*a[n-1]; a[0] = 1; Table[ a[n], {n, 0, 18}] (* _Jean-François Alcover_, Oct 04 2011 *)
%o A091137 (PARI) a(n) = local(r); r=1; forprime(p=2, n+1, r*=p^(n\(p-1))); r
%o A091137 \\ _Franklin T. Adams-Watters_, May 31 2010
%o A091137 (Python)
%o A091137 from math import prod
%o A091137 from sympy import primerange
%o A091137 def A091137(n): return prod(p**(n//(p-1)) for p in primerange(n+2))
%o A091137 # _Chai Wah Wu_, Apr 28 2023
%o A091137 (SageMath)
%o A091137 def a(n): return lcm(product(r + 1 for r in p) for p in Partitions(n))
%o A091137 # Or, more efficient:
%o A091137 from functools import cache
%o A091137 @cache
%o A091137 def a_rec(n):
%o A091137     if n == 0: return 1
%o A091137     p = mul(s for s in map(lambda i: i + 1, divisors(n)) if is_prime(s))
%o A091137     return p * a_rec(n - 1)
%o A091137 print([a_rec(n) for n in range(22)]) # _Peter Luschny_, Dec 12 2023
%Y A091137 Starts similarly to A002207 especially for even n and all values of A002207 seen so far seem to divide a(n).
%Y A091137 Cf. A002790, A000142, A090622, A090624, A091136, A171080, A238963, A275314, A368093, A368116, A363596.
%K A091137 nonn
%O A091137 0,2
%A A091137 _Henry Bottomley_, Dec 19 2003
%E A091137 New name using a formula of the author by _Peter Luschny_, Dec 11 2023