Calculations of factorials
up vote
0
down vote
favorite
Working over a problem connected with analytic number theory, I want to make some simple computer experiments in order to examine some theoretical conjectures. The algorithms are very simple: they contain standard arithmetic operations and factorials, but I would like to find values depending on a parameter. For instance, if I understand correctly, the problem with such calculations at WolframAlpha service is that I cannot write an expression depending on a parameter and then change the value of the parameter by typing it only once. But that is what I need. I am new in programming, long ago I used some old languages like Algol, but I am not aware of the modern situation with simple computer experiments. So, my goal is to calculate some simple expressions for multiple values of a parameter, preferably with installing some simple software or by using an online machinery. How could this be done?
Assuming that my question can be perceived as off topic, if so, I would much appreciate any further recommendations before closing.
programming-languages
add a comment |
up vote
0
down vote
favorite
Working over a problem connected with analytic number theory, I want to make some simple computer experiments in order to examine some theoretical conjectures. The algorithms are very simple: they contain standard arithmetic operations and factorials, but I would like to find values depending on a parameter. For instance, if I understand correctly, the problem with such calculations at WolframAlpha service is that I cannot write an expression depending on a parameter and then change the value of the parameter by typing it only once. But that is what I need. I am new in programming, long ago I used some old languages like Algol, but I am not aware of the modern situation with simple computer experiments. So, my goal is to calculate some simple expressions for multiple values of a parameter, preferably with installing some simple software or by using an online machinery. How could this be done?
Assuming that my question can be perceived as off topic, if so, I would much appreciate any further recommendations before closing.
programming-languages
Parameter (computer programming)
– Johnny Mopp
Nov 9 at 21:31
Defining a function that takes an argument can be done in virtually any non-esoteric language (including Algol), so this isn't a very specific requirement. Just pick any language you want. If you want you can look up the factorial function on Rosetta Code to compare how it can be implemented in different languages.
– sepp2k
Nov 9 at 21:31
@sepp2k I don't know what language I may want, this is what I ask. I want the language and the compiler to be as simple as possible to learn and to install.
– Durac
Nov 9 at 21:36
That's entirely subjective. Just look at the page I've linked and pick the one that looks the most simple to you. Maybe cross-reference it with a list of the 20-or-so most popular programming languages first to cut down the list of options to something manageable.
– sepp2k
Nov 9 at 21:40
@sepp2k Maybe... Something like WolframAlpha but allowing parameters would be best for me, however, if such option does not exist, I will check the page. Many thanks!
– Durac
Nov 9 at 21:47
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Working over a problem connected with analytic number theory, I want to make some simple computer experiments in order to examine some theoretical conjectures. The algorithms are very simple: they contain standard arithmetic operations and factorials, but I would like to find values depending on a parameter. For instance, if I understand correctly, the problem with such calculations at WolframAlpha service is that I cannot write an expression depending on a parameter and then change the value of the parameter by typing it only once. But that is what I need. I am new in programming, long ago I used some old languages like Algol, but I am not aware of the modern situation with simple computer experiments. So, my goal is to calculate some simple expressions for multiple values of a parameter, preferably with installing some simple software or by using an online machinery. How could this be done?
Assuming that my question can be perceived as off topic, if so, I would much appreciate any further recommendations before closing.
programming-languages
Working over a problem connected with analytic number theory, I want to make some simple computer experiments in order to examine some theoretical conjectures. The algorithms are very simple: they contain standard arithmetic operations and factorials, but I would like to find values depending on a parameter. For instance, if I understand correctly, the problem with such calculations at WolframAlpha service is that I cannot write an expression depending on a parameter and then change the value of the parameter by typing it only once. But that is what I need. I am new in programming, long ago I used some old languages like Algol, but I am not aware of the modern situation with simple computer experiments. So, my goal is to calculate some simple expressions for multiple values of a parameter, preferably with installing some simple software or by using an online machinery. How could this be done?
Assuming that my question can be perceived as off topic, if so, I would much appreciate any further recommendations before closing.
programming-languages
programming-languages
asked Nov 9 at 21:22
Durac
1
1
Parameter (computer programming)
– Johnny Mopp
Nov 9 at 21:31
Defining a function that takes an argument can be done in virtually any non-esoteric language (including Algol), so this isn't a very specific requirement. Just pick any language you want. If you want you can look up the factorial function on Rosetta Code to compare how it can be implemented in different languages.
– sepp2k
Nov 9 at 21:31
@sepp2k I don't know what language I may want, this is what I ask. I want the language and the compiler to be as simple as possible to learn and to install.
– Durac
Nov 9 at 21:36
That's entirely subjective. Just look at the page I've linked and pick the one that looks the most simple to you. Maybe cross-reference it with a list of the 20-or-so most popular programming languages first to cut down the list of options to something manageable.
– sepp2k
Nov 9 at 21:40
@sepp2k Maybe... Something like WolframAlpha but allowing parameters would be best for me, however, if such option does not exist, I will check the page. Many thanks!
– Durac
Nov 9 at 21:47
add a comment |
Parameter (computer programming)
– Johnny Mopp
Nov 9 at 21:31
Defining a function that takes an argument can be done in virtually any non-esoteric language (including Algol), so this isn't a very specific requirement. Just pick any language you want. If you want you can look up the factorial function on Rosetta Code to compare how it can be implemented in different languages.
– sepp2k
Nov 9 at 21:31
@sepp2k I don't know what language I may want, this is what I ask. I want the language and the compiler to be as simple as possible to learn and to install.
– Durac
Nov 9 at 21:36
That's entirely subjective. Just look at the page I've linked and pick the one that looks the most simple to you. Maybe cross-reference it with a list of the 20-or-so most popular programming languages first to cut down the list of options to something manageable.
– sepp2k
Nov 9 at 21:40
@sepp2k Maybe... Something like WolframAlpha but allowing parameters would be best for me, however, if such option does not exist, I will check the page. Many thanks!
– Durac
Nov 9 at 21:47
Parameter (computer programming)
– Johnny Mopp
Nov 9 at 21:31
Parameter (computer programming)
– Johnny Mopp
Nov 9 at 21:31
Defining a function that takes an argument can be done in virtually any non-esoteric language (including Algol), so this isn't a very specific requirement. Just pick any language you want. If you want you can look up the factorial function on Rosetta Code to compare how it can be implemented in different languages.
– sepp2k
Nov 9 at 21:31
Defining a function that takes an argument can be done in virtually any non-esoteric language (including Algol), so this isn't a very specific requirement. Just pick any language you want. If you want you can look up the factorial function on Rosetta Code to compare how it can be implemented in different languages.
– sepp2k
Nov 9 at 21:31
@sepp2k I don't know what language I may want, this is what I ask. I want the language and the compiler to be as simple as possible to learn and to install.
– Durac
Nov 9 at 21:36
@sepp2k I don't know what language I may want, this is what I ask. I want the language and the compiler to be as simple as possible to learn and to install.
– Durac
Nov 9 at 21:36
That's entirely subjective. Just look at the page I've linked and pick the one that looks the most simple to you. Maybe cross-reference it with a list of the 20-or-so most popular programming languages first to cut down the list of options to something manageable.
– sepp2k
Nov 9 at 21:40
That's entirely subjective. Just look at the page I've linked and pick the one that looks the most simple to you. Maybe cross-reference it with a list of the 20-or-so most popular programming languages first to cut down the list of options to something manageable.
– sepp2k
Nov 9 at 21:40
@sepp2k Maybe... Something like WolframAlpha but allowing parameters would be best for me, however, if such option does not exist, I will check the page. Many thanks!
– Durac
Nov 9 at 21:47
@sepp2k Maybe... Something like WolframAlpha but allowing parameters would be best for me, however, if such option does not exist, I will check the page. Many thanks!
– Durac
Nov 9 at 21:47
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53233432%2fcalculations-of-factorials%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Parameter (computer programming)
– Johnny Mopp
Nov 9 at 21:31
Defining a function that takes an argument can be done in virtually any non-esoteric language (including Algol), so this isn't a very specific requirement. Just pick any language you want. If you want you can look up the factorial function on Rosetta Code to compare how it can be implemented in different languages.
– sepp2k
Nov 9 at 21:31
@sepp2k I don't know what language I may want, this is what I ask. I want the language and the compiler to be as simple as possible to learn and to install.
– Durac
Nov 9 at 21:36
That's entirely subjective. Just look at the page I've linked and pick the one that looks the most simple to you. Maybe cross-reference it with a list of the 20-or-so most popular programming languages first to cut down the list of options to something manageable.
– sepp2k
Nov 9 at 21:40
@sepp2k Maybe... Something like WolframAlpha but allowing parameters would be best for me, however, if such option does not exist, I will check the page. Many thanks!
– Durac
Nov 9 at 21:47