A175524 A000120-deficient numbers.
1, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 121, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269
Offset: 1
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..1000
Crossrefs
Programs
-
Haskell
import Data.List (findIndices) a175524 n = a175524_list !! (n-1) a175524_list = map (+ 1) $ findIndices (< 0) a192895_list -- Reinhard Zumkeller, Jul 12 2011
-
Mathematica
Select[Range[270], DivisorSum[#, DigitCount[#, 2, 1] &] < 2*DigitCount[#, 2, 1] &] (* Amiram Eldar, Jul 25 2023 *)
-
PARI
is(n)=sumdiv(n,d,hammingweight(d))<2*hammingweight(n) \\ Charles R Greathouse IV, Jan 28 2016
-
Sage
is_A175524 = lambda x: sum(A000120(d) for d in divisors(x)) < 2*A000120(x) A175524 = filter(is_A175524, IntegerRange(1, 10**4)) # D. S. McNeil, Dec 04 2010
Formula
A192895(a(n)) < 0. - Reinhard Zumkeller, Jul 12 2011
Extensions
More terms from Amiram Eldar, Feb 18 2019
Comments