OFFSET
1,2
COMMENTS
Equivalently, numbers k such that the multisets of exponents in the prime factorizations of k and k+1 are disjoint and each have distinct elements.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
Thomas Bloom, Erdős Problem #913.
P. Erdős, Miscellaneous problems in number theory, Congr. Numer. (1982), 25-45. See p. 28.
Erdős problems database contributors, Erdős problems database, maintained by Thomas Bloom and Terence Tao.
EXAMPLE
3 is a term since 3*4 = 12 = 2^2 * 3^1 has 2 distinct exponents in its prime factorization: 1 and 3.
MATHEMATICA
q[n_] := UnsameQ @@ (FactorInteger[n*(n+1)][[;; , 2]]); Select[Range[4000], q]
PROG
(PARI) is(n) = { my(e = factor(n*(n+1))[, 2]); #Set(e) == #e; }
(Python) from sympy import factorint
def is_A359747(n): return n>0 and len(e:=factorint(n*(n+1)).values()) == len(set(e)) # David Radcliffe, Sep 10 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Jan 13 2023
STATUS
approved
