A138511 Semiprimes where the larger prime factor is greater than the square of the smaller prime factor, short: semiprimes p*q, p^2 < q.
10, 14, 22, 26, 33, 34, 38, 39, 46, 51, 57, 58, 62, 69, 74, 82, 86, 87, 93, 94, 106, 111, 118, 122, 123, 129, 134, 141, 142, 145, 146, 155, 158, 159, 166, 177, 178, 183, 185, 194, 201, 202, 205, 206, 213, 214, 215, 218, 219, 226, 235, 237, 249, 254, 262, 265, 267, 274, 278, 291, 295, 298, 302, 303, 305
Offset: 1
Examples
See A138510.
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
Haskell
a138511 n = a138511_list !! (n-1) a138511_list = filter f [1..] where f x = p ^ 2 < q && a010051' q == 1 where q = div x p; p = a020639 x -- Reinhard Zumkeller, Jan 06 2015
-
Mathematica
Select[Range[305],PrimeOmega[#]==2&&Divisors[#][[-2]]>Divisors[#][[-3]]^2&&SquareFreeQ[#]&] (* James C. McMahon, Jun 07 2025 *)
-
PARI
isok(s) = my(f=factor(s)); (bigomega(f) == 2) && (#f~ == 2) && (f[1,1]^2 < f[2, 1]); \\ Michel Marcus, Sep 15 2020
-
Scheme
;; Scheme with Antti Karttunen's IntSeq-library. (define A138511 (MATCHING-POS 1 2 (lambda (n) (and (= 2 (A001222 n)) (= (A252375 n) (+ 1 (A006530 n))))))) (define A138511 (COMPOSE A001358 (MATCHING-POS 1 1 (lambda (n) (= (A138510 n) (+ 1 (A006530 (A001358 n)))))))) ;; Antti Karttunen, Dec 16-17 2014
-
Scheme
;; Scheme with Antti Karttunen's IntSeq-library. (define A138511 (MATCHING-POS 1 2 (lambda (n) (and (= 2 (A001222 n)) (> (A006530 n) (A000290 (A020639 n))))))) ;; Based on the new alternative definition - Antti Karttunen, Jan 01 2015
Formula
Extensions
Wrong comment corrected by Reinhard Zumkeller, Dec 16 2014
New definition by Antti Karttunen, Jan 01 2015; old definition moved to comment.
More terms from Antti Karttunen, Jan 09 2015
Comments