OFFSET
1,1
COMMENTS
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
EXAMPLE
290 = 2*5*29 is a member, because 2^2 < 5 and 5^2 < 29.
MATHEMATICA
cnQ[n_]:=CompositeQ[n]&&Union[Boole[#[[2]]>#[[1]]^2&/@Partition[Flatten[Table[ #[[1]], #[[2]]]&/@FactorInteger[n]], 2, 1]]]=={1}; Select[Range[300], cnQ] (* Harvey P. Dale, Jul 10 2023 *)
PROG
(Haskell)
a253569 n = a253569_list !! (n-1)
a253569_list = filter f [1..] where
f x = (p ^ 2 < a020639 q) && (a010051' q == 1 || f q)
where q = div x p; p = a020639 x
a253569 n = a253569_list !! (n-1)
a253569_list = filter (not . f''') a002808_list where
f''' x = p ^ 2 > a020639 q || (a010051 q == 0 && f''' q)
where q = div x p; p = a020639 x
-- Reinhard Zumkeller, Jan 12 2015
(Scheme, with Antti Karttunen's IntSeq-library)
(define A253569 (MATCHING-POS 1 1 (lambda (n) (and (> (A001222 n) 1) (numbers-sparsely-distributed? (ifactor n))))))
(define (numbers-sparsely-distributed? lista) (cond ((null? lista) #t) ((null? (cdr lista)) #t) ((> (A000290 (car lista)) (cadr lista)) #f) (else (numbers-sparsely-distributed? (cdr lista)))))
;; Antti Karttunen, Jan 16 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen & Reinhard Zumkeller, Jan 09 2015
STATUS
approved