Sync
This commit is contained in:
parent
6f050a029e
commit
776bba907c
3887 changed files with 59894 additions and 7280 deletions
|
|
@ -0,0 +1,10 @@
|
|||
noncontig(n)=n>>=valuation(n,2);n++;n>>=valuation(n,2);n>1;
|
||||
nonContigSubseq(v)={
|
||||
for(i=5,2^#v-1,
|
||||
if(noncontig(i),
|
||||
print(vecextract(v,i))
|
||||
)
|
||||
)
|
||||
};
|
||||
nonContigSubseq([1,2,3])
|
||||
nonContigSubseq(["a","b","c","d","e"])
|
||||
Loading…
Add table
Add a link
Reference in a new issue