OFFSET
1,2
COMMENTS
The number of terms not exceeding 10^m, for m = 1, 2, ..., are 4, 38, 371, 3726, 37259, 372542, 3725411, 37254006, 372539990, ... . Apparently, the asymptotic density of this sequence exists and equals 0.3725... . - Amiram Eldar, Jun 14 2022
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[170], GCD[10*#, PowerMod[2, 10*#, 10*#] + 1] == 5 &] (* Amiram Eldar, Jun 14 2022*)
PROG
(PARI) lista(nn) = select(x->(gcd(x, 2^x+1) == 5), [1..nn])/10 \\ Michel Marcus, Oct 27 2019
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Apr 13 2002
STATUS
approved