OFFSET
1,2
COMMENTS
Numbers k such that k == 2 (mod A000005(k)).
Odd terms are squares. Next odd term after 1 is 5^16 * 29^6 = 90762835845947265625 (cf. A354716).
The smallest even square is 2^16 * 5^6 = 1024000000. - Jianing Song, Jun 04 2022
LINKS
Jianing Song, Table of n, a(n) for n = 1..10000
Jianing Song, Possible numbers of divisors of terms in A354715
MATHEMATICA
Select[Range[300], Divisible[# - 2, DivisorSigma[0, #]] &] (* Amiram Eldar, Jun 03 2022 *)
PROG
(PARI) isA354715(k) = (Mod(k, numdiv(k)) == 2) \\ Jianing Song, Jun 04 2022
(Python)
from sympy import divisor_count
def ok(n): return n > 0 and (n-2)%divisor_count(n) == 0
print([k for k in range(300) if ok(k)]) # Michael S. Branicky, Jun 04 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Max Alekseyev, Jun 03 2022
STATUS
approved