for(i in 1:50) { print(paste(paste("Decimal", i), "=", paste("Octal", as.octmode(i)))) }