OFFSET
1,1
COMMENTS
Subsequence of A017245 (9n + 7).
LINKS
Odimar Fabeny, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[18Range[100] + 7, Not[PrimeQ[#]] &] (* Alonso del Arte, Sep 25 2014 *)
Select[Range[1, 1501, 2], CompositeQ[#]&&Mod[#, 9]==7&] (* or *) Select[Range[7, 1501, 18], CompositeQ] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Mar 31 2021 *)
PROG
(PARI) lista(nn) = {forcomposite(n=1, nn, if ((n % 2) && ((n % 9) == 7), print1(n, ", ")); ); } \\ Michel Marcus, Sep 22 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Odimar Fabeny, Sep 22 2014
STATUS
approved