A163263 Numbers having multiple representations as the product of non-overlapping ranges of consecutive numbers.
210, 720, 175560, 17297280
Offset: 1
Keywords
Examples
210 = 5*6*7 = 14*15. 720 = 2*3*4*5*6 = 8*9*10. 175560 = 19*20*21*22 = 55*56*57. 17297280 = 8*9*10*11*12*13*14 = 63*64*65*66.
Links
- Art Kalb, Why Number Theory is Hard, YouTube video, 2024
- Carlos Rivera, Puzzle 469. 5040, The Prime Puzzles and Problems Connection.
Crossrefs
Cf. A064224.
Programs
-
Python
import heapq def aupton(terms, verbose=False): p = 2*3; h = [(p, 2, 3)]; nextcount = 4; alst = []; oldv = None while len(alst) < terms: (v, s, l) = heapq.heappop(h) if v == oldv and ((s > oldl) or (olds > l)) and v not in alst: alst.append(v) if verbose: print(f"{v}, [= Prod_{{i = {s}..{l}}} i = Prod_{{i = {olds}..{oldl}}} i]") if v >= p: p *= nextcount heapq.heappush(h, (p, 2, nextcount)) nextcount += 1 oldv, olds, oldl = v, s, l v //= s; s += 1; l += 1; v *= l heapq.heappush(h, (v, s, l)) return alst print(aupton(4, verbose=True)) # Michael S. Branicky, Jun 24 2021
Comments