OFFSET
1,1
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
Sum_{n>=1} 1/a(n)^s = (zeta(s) - ((2^s + 1)/(2^s - 1))*zeta(2*s)/zeta(s))/2 for Re(s)>1. - Amiram Eldar, Nov 02 2020
EXAMPLE
12 = 2 * 2 * 3 (where the factors are prime numbers). Substituting addition for multiplication we get 2 + 2 + 3 = 7, which is odd. So 12 is in the sequence.
50 = 2 * 5 * 5. Substituting addition for multiplication we get 2 + 5 + 5 = 12, which is not odd. So 50 is not in the sequence.
1, written as a product of primes, is the empty product (1 has zero prime factors). Substituting addition for multiplication gives the empty sum, which evaluates as 0, which is even, not odd. So 1 is not in the sequence.
MATHEMATICA
Select[Range[2, 125], OddQ[Plus @@ Times @@@ FactorInteger[#]] &] (* Amiram Eldar, Jul 11 2020 *)
PROG
(PARI) isA335657(n) = (((n=factor(n))[, 1]~*n[, 2])%2); \\ After code in A001414.
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen and Peter Munn, Jul 09 2020
STATUS
approved