Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions on the basic structure of the Mathematica language (Wolfram language) including atomic data types, syntax etc
2
votes
3
answers
473
views
Perform For-loop and show output which meets a certain criterion
I am new to Mathematica and I have a For loop like so:
For[i = 0, i < 15, i++, PowerMod[i, -1, 15]]
Currently it doesn't output anything. The calculation I am performing is i^-1 mod n. I want t his l …
0
votes
1
answer
153
views
Help with functions in Mathematica
I'd like to make a function that has many parts. Doing this in something such as Java, which I am familiar with, would be simple. In Mathematica I have these "pieces", which I want to put into a singl …
0
votes
1
answer
606
views
Built in function to convert list of numbers into list of binary numbers [closed]
Does Mathematica have a build in way to convert a list of numbers into a list of binary numbers? If not how can this be accomplished?
2
votes
5
answers
237
views
Making loop based off what I can say in words
I have a list of values a:
{1,4,11,14}
I want to print out values that satisfy b(1+a) = 0 mod 15 where b are the values from 0 to 14. The output I am wanting is something like:
a = 1 , b = 0
a = 4 …
0
votes
2
answers
419
views
Function that creates a table from two lists
I have two lists shown below:
list1 = {(0,0,0,0),(0,0,0,1),(0,0,1,0),...,(1,1,1,1)}
list2 = {1,5,5,5,...,5}
How can I construct a function that outputs a table similar to this:
$$\begin{array}{c|c} …