OFFSET

1,2

LINKS

T. D. Noe, Table of n, a(n) for n = 1..1000

MATHEMATICA

Select[Range[1000], GCD[#, (10^# - 1)/9] == 1&] (* Jean-François Alcover, May 19 2016 *)

PROG

(PARI) upto(N) = [n|n<-[1..N], 1==gcd(n, (10^n-1)/9)]; \\ Ruud H.G. van Tol, May 09 2024

CROSSREFS

KEYWORD

nice,nonn

AUTHOR

Lekraj Beedassy, Aug 03 2006

STATUS

approved