OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
nn=400; With[{c=Complement[Range[nn], Prime[Range[PrimePi[nn]]]]}, Select[ c, Mod[Binomial[#+5, #], #]==1&]] (* Harvey P. Dale, Sep 24 2012 *)
PROG
(Python)
from itertools import count, islice
from math import comb
from sympy import isprime
def A133635_gen(startvalue=1): # generator of terms >= startvalue
return filter(lambda k:comb(k+5, k)%k==1 and not isprime(k), count(max(startvalue, 1)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Hieronymus Fischer, Sep 30 2007
STATUS
approved