OFFSET
1,2
MAPLE
isA008364 := proc(n) if n = 1 then true; else min( op(numtheory[factorset](n)) ); if % > 7 then true; else false; end if; end if; end proc:
isA038511 := proc(n) if n = 1 then false; else min( op(numtheory[factorset](n)) ); if % >= 11 and not isprime(n) then true; else false; end if; end if; end proc:
for n from 1 to 300 do if isA008364(n) and not isA038511(n) then printf("%d, ", n) ; end if; end do: # R. J. Mathar, Apr 25 2010
PROG
(PARI) a(n)=if(n==1, 1, prime(n+3)) \\ Charles R Greathouse IV, Aug 26 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Juri-Stepan Gerasimov, Jul 22 2008
EXTENSIONS
Entries checked by R. J. Mathar, Apr 25 2010
STATUS
approved