[seqfan] Subsets with prime sums

zak seidov zakseidov at yahoo.com
Sat Oct 24 17:31:32 CEST 2009

Dear seqfans,

Pending your 

Thanks, Zak

%S A1 

N A1
For each n, take n subsets of set 1..n^2. 
Then select subsets with prime sums. 
The sequence gives the 
numbers of such subsets for n=2,3,4,5,6.
%e A1
n=2; a(2)=4 because there are four subsets of set {1,2,3,4} with prime sums:

n=3; a(3)=26 because there are 26 subsets of set {1,2,3,4,5,6,7,8,9} 
with corresponding prime sums:


More information about the SeqFan mailing list