OFFSET
1,4
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
David A. Corneth, PARI program
PROG
(PARI)
\\ This is for computing a small number of terms:
primepower_divisors_with1_reversed(n) = vecsort(select(d -> ((1==d) || isprimepower(d)), divisors(n)), , 4);
partitions_into_with_trailing_ones(n, parts, from=1) = if(!n, 1, if(#parts<=(from+1), if(#parts == from, 1, (1+(n\parts[from]))), my(s=0); for(i=from, #parts, if(parts[i]<=n, s += partitions_into_with_trailing_ones(n-parts[i], parts, i))); (s)));
A014650(n) = partitions_into_with_trailing_ones(n-1, primepower_divisors_with1_reversed(n)); \\ Antti Karttunen, Sep 10 2018
(PARI) \\ For an efficient program to compute large numbers of terms, see David A. Corneth's PARI program included in the Links-section. - Antti Karttunen, Sep 12 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from and the name clarified by Antti Karttunen, Sep 10 2018
STATUS
approved