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

A342609
Positive integers that cannot be written in the form k - gpf(k) +- 1 for some integer k, where gpf(k) is the greatest prime factor of k.
1
17, 49, 161, 197, 199, 209, 251, 391, 419, 449, 649, 685, 769, 799, 883, 967, 1057, 1189, 1249, 1301, 1457, 1481, 1681, 1793, 1937, 1979, 2001, 2029, 2089, 2177, 2209, 2311, 2377, 2379, 2419, 2431, 2449, 2549, 2551, 2575, 2591, 2705, 2729, 2899, 3041, 3073
OFFSET
1,1
LINKS
MAPLE
f:= proc(n) local g;
g:= max(numtheory:-factorset(n));
n-g+1, n-g-1
end proc:
sort(convert({$1..5000} minus map(f, {$1..10001}), list)); # Robert Israel, Apr 12 2021
CROSSREFS
Sequence in context: A146871 A146791 A126371 * A146799 A147201 A146775
KEYWORD
nonn
AUTHOR
Christian Bagshaw, Mar 16 2021
STATUS
approved