Feeds
질문
How to find the maximum element by length without a loop?
I have 2 strings: a and b. How to get the longer one using built-in functions?
대략 3년 전 | 답변 수: 2 | 0
2
답변질문
How to increase precision in this case?
I have a code which finds the first 10 consecutive numbers after decimal that forms a prime number: k = 10; while true a =...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
Find the first 10 consecutive numbers after decimal point of pi and e that forms a prime number
k = 10; while true a = mod(floor((pi-3)*10^k),10^10); if isprime(a) == 1 printf('Numbers after decimal: %d\n',a) ...
3년 초과 전 | 답변 수: 0 | 0
0
답변질문
Help pls. Find the first 10 consecutive numbers after the decimal point in e and pi which sum is the prime number
Find the first 10 consecutive numbers after the decimal point in e and pi which sum is the prime number isprime() checks if nu...
3년 초과 전 | 답변 수: 0 | 0
0
답변질문
Random numbers generation problem
How to create randi([a,b],1,c) in which every number is not divided by 2,3,5,7,11 ? Or not neccecary in randi, it can be other f...
3년 초과 전 | 답변 수: 2 | 0
2
답변질문
How to simplify that?
How to simplify while or (mod(i,2) == 0, mod(i,3) == 0, mod(i,5) == 0, mod(i,7) == 0, mod(i,11) == 0) I...
3년 초과 전 | 답변 수: 1 | 0
