A270428 Exponentially odious numbers: 1 together with positive integers n such that all exponents in prime factorization of n are odious numbers (A000069).
1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 25, 26, 28, 29, 30, 31, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 55, 57, 58, 59, 60, 61, 62, 63, 65, 66, 67, 68, 69, 70, 71, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84
Offset: 1
Links
- Antti Karttunen, Table of n, a(n) for n = 1..10000
- Vladimir Shevelev, S-exponential numbers, Acta Arithmetica, Vol. 175 (2016), 385-395.
Crossrefs
Programs
-
Mathematica
odiousQ[n_] := OddQ[DigitCount[n, 2, 1]]; Select[Range[100], AllTrue[FactorInteger[#][[;;, 2]], odiousQ] &] (* Amiram Eldar, May 18 2023 *)
-
PARI
A355825(n) = factorback(apply(e->(hammingweight(e)%2), factor(n)[, 2])); isA270428(n) = A355825(n); \\ Antti Karttunen, Jul 21 2022
-
Scheme
;; Requires Antti Karttunen's IntSeq-library. (define A270428 (ZERO-POS 1 1 (COMPOSE sub1 A270419)))
-
Scheme
;; Requires Antti Karttunen's IntSeq-library. (definec (chA270428 n) (cond ((= 1 n) 1) (else (* (A010060 (A067029 n)) (chA270428 (A028234 n)))))) (define A270428 (NONZERO-POS 1 1 chA270428))
Comments