Hi there, I'd like to define a function for the variable "n" that gives me as Output "True", if "n" is the sum of two primes (it can be the same primes), and "False" if not. So for example n = a+b with primes a,b. I had some ideas, for example: ...
Hi, I'd like something that goes in this direction that uses "While" or something like this. gcd[a_,b_] := If[a==b,Print[b], While[b!=0,If[a>b,... I just don't get it ;/
Hello there, it's my first time using mathematica and I need some help. I want to plot a function f(x) which contains three variables x, k and t. I have to plot this function once for setting k=0 and t in [-2, 2], once for setting k=1 and t in...