OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,-1).
FORMULA
a(n) = n+floor((n-1)/(p-1)) where p=31 in this case. - Roger M Ellingson, Nov 14 2023
MATHEMATICA
With[{nn=100}, Complement[Range[nn], 31*Range[Floor[nn/31]]]] (* Harvey P. Dale, Nov 29 2017 *)
PROG
(Sage) [i for i in range(0, 100) if gcd(31, i) == 1]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Zerinvary Lajos, May 18 2009
EXTENSIONS
Name edited by Roger M Ellingson, Nov 14 2023
STATUS
approved