A286843 Even k such that k - A001065(k) = 2^m (for some m > 0).
10, 14, 22, 38, 44, 92, 110, 130, 134, 136, 152, 170, 184, 248, 250, 262, 284, 376, 410, 442, 632, 730, 752, 884, 988, 1012, 1052, 1276, 1292, 1370, 1628, 2144, 2168, 2272, 2332, 2528, 3068, 4064, 4124, 5210, 6112, 6364, 6556, 7372, 8198, 8312, 8384, 8648
Offset: 1
Keywords
Examples
10 is a term as 10 - A001065(10) = 10 - 8 = 2. 22 is a term as 22 - A001065(22) = 22 - 14 = 2^3.
Links
- Amiram Eldar, Table of n, a(n) for n = 1..893 (terms below 10^11)
Programs
-
Mathematica
Select[Table[2n, {n, 1, 5000}], DivisorSigma[1, 2# - DivisorSigma[1, #]] + 1 == 2(2# - DivisorSigma[1, #]) > 2 &] (* or *) Select[2 Range[5000], IntegerQ@ Log2[2 # - DivisorSigma[1,#]] && !IntegerQ@ Log2@ # &] (* Giovanni Resta, Aug 07 2017 *)
-
PARI
ispower2(n) = n > 1 && n >> valuation(n, 2) == 1; is(n) = !(n%2) && ispower2(2*n - sigma(n)); \\ Amiram Eldar, Mar 22 2024
Comments