This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import itertools, math | |
# gerar serie 1,2,4,7,11,…N | |
def seriea(N): | |
serie=[] | |
ac=1 | |
for i in range(N): | |
ac+=i | |
serie.append(ac) | |
return(serie) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## windows x86_64 mingw cross-compilation on linux | |
## ============= INSTALATION SCRIPT ============= | |
## ========== paolo oliveira <paolo@fisica.ufc.br> | |
if [ "$(id -u)" != "0" ]; then | |
echo "This instalation script requires root" 1>&2 | |
exit 1 | |
fi | |
# ==========[ download ]=========================================================================== |
NewerOlder