One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
# Use `pip3 install pdfminer.six` for python3 | |
from typing import Container | |
from io import BytesIO | |
from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter | |
from pdfminer.converter import TextConverter, XMLConverter, HTMLConverter | |
from pdfminer.layout import LAParams | |
from pdfminer.pdfpage import PDFPage | |
''' | |
Let's define a sevenish number is a number that is one of a power of 7, or a number that is the sum of unique power of 7s | |
From the beginning the first few sevenish are: | |
1, 7, 8, 49, 50 and so on | |
You are to create an algorithm that finds the i'th sevenish number | |
''' |
function permutations(list) | |
{ | |
// Empty list has one permutation | |
if (list.length == 0) | |
return [[]]; | |
var result = []; | |
for (var i=0; i<list.length; i++) |