cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A014649 Number of partitions of n into its nonprime power divisors with at least one part of size 1.

This page as a plain text file.
%I A014649 #13 Feb 08 2020 11:57:49
%S A014649 1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,3,1,2,1,1,1,6,1,1,1,2,1,15,1,1,1,1,
%T A014649 1,16,1,1,1,6,1,21,1,2,3,1,1,26,1,5,1,2,1,18,1,6,1,1,1,238,1,1,3,1,1,
%U A014649 31,1,2,1,31,1,139,1,1,5,2,1,37,1,26,1,1,1,414,1,1,1,6,1,612,1,2,1,1
%N A014649 Number of partitions of n into its nonprime power divisors with at least one part of size 1.
%H A014649 Antti Karttunen, <a href="/A014649/b014649.txt">Table of n, a(n) for n = 1..20000</a>
%H A014649 David A. Corneth & Antti Karttunen, <a href="/A014649/a014649.txt">PARI program</a>
%o A014649 (PARI)
%o A014649 \\ This is for computing a small number of terms:
%o A014649 nonprimepower_divisors_with1_reversed(n) = vecsort(select(d -> ((1==d) || !isprimepower(d)), divisors(n)), , 4);
%o A014649 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)));
%o A014649 A014649(n) = partitions_into_with_trailing_ones(n-1, nonprimepower_divisors_with1_reversed(n)); \\ _Antti Karttunen_, Aug 23 2019
%o A014649 (PARI) \\ For an efficient program to compute large numbers of terms, see PARI program included in the Links-section.
%Y A014649 Cf. A014648, A014650, A014651, A014652, A066874.
%K A014649 nonn
%O A014649 1,12
%A A014649 _Olivier Gérard_