OFFSET
1,10
COMMENTS
Number of partitions of n into a semiprime and a factorial.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(16)=3 because 16 = 2*5 + 3! = 2*7 + 2! = 3*5 + 1!.
MAPLE
N:= 200: # for a(1) .. a(N)
R:= Vector(N):
S:= select(t -> numtheory:-bigomega(t)=2, [$1..N]):
F:= 1: v:= 1:
for i from 2 do v:= v*i; if v > N then break fi; F:= F, v od:
F:= [F]:
for s in S do
for f in F do
v:= s+f;
if v > N then break fi;
R[v]:= R[v]+1
od od:
convert(R, list); # Robert Israel, Sep 20 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Nov 04 2010
STATUS
approved