OFFSET
1,1
COMMENTS
A subsequence of A255346, see there for further information.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
T. Korimort, How many (x,y) satisfy x(x+1)|y(y+1),..., Number Theory group on LinkedIn.com, Feb. 2014.
EXAMPLE
20 is a term since 20*21=420 is divisible by 14*15=210 and none of {20, 21} is divisible by any of {14, 15}.
35 is a term since 35*36 = 1260 is divisible by 14*15 = 210 (and also by 20*21 = 420).
69 is not a term although 69*70 = 4830 is divisible by 14*15 = 210, because 14 divides 70.
MAPLE
filter:= proc(n) local w, m;
for w in select(t -> issqr(1+4*t), NumberTheory:-Divisors(n*(n+1)) minus {1, n*(n+1)}) do
m:= (sqrt(1+4*w)-1)/2;
if n mod m > 0 and (n+1) mod m > 0 and n mod (m+1) > 0 and (n+1) mod (m+1) > 0 then return true fi
od;
false
end proc:
select(filter, [$1..1000]); # Robert Israel, Jul 03 2026
PROG
(PARI) is(n)={omega(n)>=2&&omega(n+1)>=2&&fordiv(n*(n+1), x, x>=n&&return; n*(n+1)%(x*(x+1))&&next; n%x||next; (n+1)%x||next; n%(x+1)||next; (n+1)%(x+1)&&return(1))}
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Feb 21 2015
STATUS
approved
