reviewed
approved
Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
reviewed
approved
proposed
reviewed
editing
proposed
Amiram Eldar, <a href="/A356414/b356414.txt">Table of n, a(n) for n = 1..10000</a>
approved
editing
proposed
approved
editing
proposed
allocated for Amiram EldarNumber k such that k and k+1 both have an equal sum of even and odd exponents in their prime factorization (A356413).
819, 1035, 1196, 1274, 1275, 1449, 1665, 1924, 1925, 1988, 2324, 2331, 2540, 3068, 3195, 3324, 3339, 3549, 3555, 3626, 3717, 4164, 4220, 4235, 4556, 4598, 4635, 4675, 4796, 5084, 5525, 5634, 5660, 6003, 6027, 6068, 6164, 6363, 6740, 6867, 6908, 7028, 7227, 7275
1,1
f[p_, e_] := (-1)^e*e; q[1] = True; q[n_] := Plus @@ f @@@ FactorInteger[n] == 0; Select[Range[10^4], q[#] && q[# + 1] &]
(PARI) is(n) = {my(f = factor(n)); sum(i = 1, #f~, (-1)^f[i, 2]*f[i, 2]) == 0};
is1 = is(1); for(k = 2, 10^4, is2 = is(k); if(is1 && is2, print1(k-1, ", ")); is1 = is2);
allocated
nonn
Amiram Eldar, Aug 06 2022
approved
editing
allocated for Amiram Eldar
allocated
approved