login

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”).

A364289
Numbers k such that A243071(k) >= k.
6
3, 5, 6, 7, 10, 11, 12, 13, 14, 17, 19, 20, 21, 22, 23, 24, 26, 28, 29, 31, 33, 34, 37, 38, 39, 40, 41, 42, 43, 44, 46, 47, 48, 51, 52, 53, 55, 56, 57, 58, 59, 61, 62, 65, 66, 67, 68, 69, 71, 73, 74, 76, 78, 79, 80, 82, 83, 84, 85, 86, 87, 88, 89, 91, 92, 93, 94, 95, 96, 97, 99, 101, 102, 103, 104, 106, 107, 109
OFFSET
1,1
COMMENTS
If k is present, then 2*k is also present, and vice versa.
PROG
(PARI)
A064989(n) = { my(f=factor(n>>valuation(n, 2))); for(i=1, #f~, f[i, 1] = precprime(f[i, 1]-1)); factorback(f); };
A243071(n) = if(n<=2, n-1, if(!(n%2), 2*A243071(n/2), 1+(2*A243071(A064989(n)))));
isA364289(n) = (A243071(n)>=n);
CROSSREFS
Positions of terms <= 0 in A364288.
Cf. A007283 (subsequence), A243071, A364290 (complement).
Cf. also A364287.
Sequence in context: A154663 A028983 A232682 * A352826 A335657 A038550
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 25 2023
STATUS
approved