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.










share|improve this question






















  • 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















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.










share|improve this question






















  • 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













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.










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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


















  • 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

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















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






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Schultheiß

Verwaltungsgliederung Dänemarks

Liste der Kulturdenkmale in Wilsdruff