OFFSET
1,6
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..750 from Harvey P. Dale)
MATHEMATICA
GCD@@#&/@(Partition[Select[Range[2000], Max[Transpose[ FactorInteger[ #]] [[1]]]<6&], 2, 1]) (* Harvey P. Dale, Dec 24 2015 *)
PROG
(Python)
from math import gcd
from oeis_sequences.OEISsequences import bisection
def A112757(n):
def f(x):
c = n+x
i, i5 = 0, 1
while i5<=x:
j, j3 = 0, 1
y = x//i5
z = y
while j3 <= y:
c -= z.bit_length()
j += 1
j3 *= 3
z //= 3
i += 1
i5 *= 5
return c
return gcd(m:=bisection(f, n, n), bisection(lambda x:f(x)+1, m, m)) # Chai Wah Wu, Mar 09 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Sep 18 2005
STATUS
approved
