OFFSET
1,2
COMMENTS
The listed terms are the same as those in A069040, but the sequences are not identical. (The similarity is mostly explained by the absence of multiples of 2, 3 and 55 from both sequences.) See A070192 and A070193 for the differences.
The number of terms not exceeding 10^m, for m = 1, 2, ..., are 3, 32, 325, 3244, 32468, 324667, 3246642, 32466291, 324662816, 3246627133, ... . Apparently, the asymptotic density of this sequence exists and equals 0.32466... . - Amiram Eldar, Jun 14 2022
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
MATHEMATICA
test8[n_] := GCD[3n, PowerMod[8, n, 3n]+1]==3; Select[Range[200], test8]
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre and Dean Hickerson, Apr 26 2002
STATUS
approved