Hello,
im trying to Thread a function over a list and a socond shorter list wich should be considered being ceiclic. How do you approach that in Mathematica without programming the loop expicitly? I want the solutions to be Mathematica-Style because that is my whole point of applying Mathematica to the Project Euler problems.
cipher = Import[
"C:\\daten\\OpenCourseWare\\Computer Science\\Programming \
Languages\\Mathematica\\Project Euler\\p059_cipher.txt"];
cipher = ToExpression@StringSplit[cipher, ","];
key = {11, 22, 33};
Thread[BitXor[cipher, key]]