OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
MATHEMATICA
lpsQ[n_] := n == 1 || (Max@ Differences[(f = FactorInteger[n])[[;; , 2]]] < 1 && f[[-1, 1]] == Prime[Length[f]]); lps = Select[Range[6000], lpsQ]; c[n_] := Count[Divisors[n], _?(MemberQ[lps, #] &)]; c /@ lps (* Amiram Eldar, Jan 21 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Matthew Vandermast, Apr 28 2014
STATUS
approved