Fermat's Little Theorem and Carmichael Numbers












0














Fermat's little theorem states that if $p$ is a prime number and $a$ is a positive integer, then $p|a^p-a$.



However, the converse is false, that is, for integers $a$ and $p$, if $p|a^p-a$, then $a$ is a prime number, is a false statement. For instant, $561|a^{561}-a$ for some integer $a$, but $561$ is actually a composite number, and such numbers are called "Carmichael numbers".



In other words, a Carmichael number is a composite integer, say $k$, such that $k|a^k-a$ for all integers $a$.




This is what I know, am I right or I misunderstand something?




and




Do we have a way to find Carmichael numbers?











share|cite|improve this question


















  • 2




    Search the web for find Carmicael numbers maths.lancs.ac.uk/jameson/carfind.pdf
    – Ethan Bolker
    Nov 28 '18 at 17:04












  • There is a nice criterion for a squarefree odd composite $N>1$ : $N$ is a Carmichael number if and only if $p-1mid N-1$ holds for every prime $pmid N$. If $N$ is not squarefree odd and composite, it cannot be a Carmichael number. Moreover, it can be shown that $N$ must have at least three prime factors.
    – Peter
    Nov 28 '18 at 19:00


















0














Fermat's little theorem states that if $p$ is a prime number and $a$ is a positive integer, then $p|a^p-a$.



However, the converse is false, that is, for integers $a$ and $p$, if $p|a^p-a$, then $a$ is a prime number, is a false statement. For instant, $561|a^{561}-a$ for some integer $a$, but $561$ is actually a composite number, and such numbers are called "Carmichael numbers".



In other words, a Carmichael number is a composite integer, say $k$, such that $k|a^k-a$ for all integers $a$.




This is what I know, am I right or I misunderstand something?




and




Do we have a way to find Carmichael numbers?











share|cite|improve this question


















  • 2




    Search the web for find Carmicael numbers maths.lancs.ac.uk/jameson/carfind.pdf
    – Ethan Bolker
    Nov 28 '18 at 17:04












  • There is a nice criterion for a squarefree odd composite $N>1$ : $N$ is a Carmichael number if and only if $p-1mid N-1$ holds for every prime $pmid N$. If $N$ is not squarefree odd and composite, it cannot be a Carmichael number. Moreover, it can be shown that $N$ must have at least three prime factors.
    – Peter
    Nov 28 '18 at 19:00
















0












0








0







Fermat's little theorem states that if $p$ is a prime number and $a$ is a positive integer, then $p|a^p-a$.



However, the converse is false, that is, for integers $a$ and $p$, if $p|a^p-a$, then $a$ is a prime number, is a false statement. For instant, $561|a^{561}-a$ for some integer $a$, but $561$ is actually a composite number, and such numbers are called "Carmichael numbers".



In other words, a Carmichael number is a composite integer, say $k$, such that $k|a^k-a$ for all integers $a$.




This is what I know, am I right or I misunderstand something?




and




Do we have a way to find Carmichael numbers?











share|cite|improve this question













Fermat's little theorem states that if $p$ is a prime number and $a$ is a positive integer, then $p|a^p-a$.



However, the converse is false, that is, for integers $a$ and $p$, if $p|a^p-a$, then $a$ is a prime number, is a false statement. For instant, $561|a^{561}-a$ for some integer $a$, but $561$ is actually a composite number, and such numbers are called "Carmichael numbers".



In other words, a Carmichael number is a composite integer, say $k$, such that $k|a^k-a$ for all integers $a$.




This is what I know, am I right or I misunderstand something?




and




Do we have a way to find Carmichael numbers?








number-theory elementary-number-theory prime-numbers carmichael-numbers






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 28 '18 at 17:02









Hussain-AlqatariHussain-Alqatari

2997




2997








  • 2




    Search the web for find Carmicael numbers maths.lancs.ac.uk/jameson/carfind.pdf
    – Ethan Bolker
    Nov 28 '18 at 17:04












  • There is a nice criterion for a squarefree odd composite $N>1$ : $N$ is a Carmichael number if and only if $p-1mid N-1$ holds for every prime $pmid N$. If $N$ is not squarefree odd and composite, it cannot be a Carmichael number. Moreover, it can be shown that $N$ must have at least three prime factors.
    – Peter
    Nov 28 '18 at 19:00
















  • 2




    Search the web for find Carmicael numbers maths.lancs.ac.uk/jameson/carfind.pdf
    – Ethan Bolker
    Nov 28 '18 at 17:04












  • There is a nice criterion for a squarefree odd composite $N>1$ : $N$ is a Carmichael number if and only if $p-1mid N-1$ holds for every prime $pmid N$. If $N$ is not squarefree odd and composite, it cannot be a Carmichael number. Moreover, it can be shown that $N$ must have at least three prime factors.
    – Peter
    Nov 28 '18 at 19:00










2




2




Search the web for find Carmicael numbers maths.lancs.ac.uk/jameson/carfind.pdf
– Ethan Bolker
Nov 28 '18 at 17:04






Search the web for find Carmicael numbers maths.lancs.ac.uk/jameson/carfind.pdf
– Ethan Bolker
Nov 28 '18 at 17:04














There is a nice criterion for a squarefree odd composite $N>1$ : $N$ is a Carmichael number if and only if $p-1mid N-1$ holds for every prime $pmid N$. If $N$ is not squarefree odd and composite, it cannot be a Carmichael number. Moreover, it can be shown that $N$ must have at least three prime factors.
– Peter
Nov 28 '18 at 19:00






There is a nice criterion for a squarefree odd composite $N>1$ : $N$ is a Carmichael number if and only if $p-1mid N-1$ holds for every prime $pmid N$. If $N$ is not squarefree odd and composite, it cannot be a Carmichael number. Moreover, it can be shown that $N$ must have at least three prime factors.
– Peter
Nov 28 '18 at 19:00












1 Answer
1






active

oldest

votes


















0














Numbers of the form $(6k+1)(12k+1)(18k+1)$ are Carmichael numbers if each of the three factors is prime. This gives some examples - already $k=1$ works. Actually, the sequence A046025 gives more values, e.g.,



$$
k=1, 6, 35, 45, 51, 55, 56, 100, 121, 195, 206, 216, 255, 276, 370, 380,
426, 506, 510, 511, 710, 741, 800, 825, 871, 930, 975, 1025, 1060, 1115,
1140, 1161, 1270, 1280, 1281, 1311, 1336, 1361, 1365, 1381, 1420, 1421,
1441, 1490, 1515, 1696, 1805, 1875, 1885
$$






share|cite|improve this answer





















    Your Answer





    StackExchange.ifUsing("editor", function () {
    return StackExchange.using("mathjaxEditing", function () {
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    });
    });
    }, "mathjax-editing");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "69"
    };
    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',
    autoActivateHeartbeat: false,
    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
    },
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3017393%2ffermats-little-theorem-and-carmichael-numbers%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Numbers of the form $(6k+1)(12k+1)(18k+1)$ are Carmichael numbers if each of the three factors is prime. This gives some examples - already $k=1$ works. Actually, the sequence A046025 gives more values, e.g.,



    $$
    k=1, 6, 35, 45, 51, 55, 56, 100, 121, 195, 206, 216, 255, 276, 370, 380,
    426, 506, 510, 511, 710, 741, 800, 825, 871, 930, 975, 1025, 1060, 1115,
    1140, 1161, 1270, 1280, 1281, 1311, 1336, 1361, 1365, 1381, 1420, 1421,
    1441, 1490, 1515, 1696, 1805, 1875, 1885
    $$






    share|cite|improve this answer


























      0














      Numbers of the form $(6k+1)(12k+1)(18k+1)$ are Carmichael numbers if each of the three factors is prime. This gives some examples - already $k=1$ works. Actually, the sequence A046025 gives more values, e.g.,



      $$
      k=1, 6, 35, 45, 51, 55, 56, 100, 121, 195, 206, 216, 255, 276, 370, 380,
      426, 506, 510, 511, 710, 741, 800, 825, 871, 930, 975, 1025, 1060, 1115,
      1140, 1161, 1270, 1280, 1281, 1311, 1336, 1361, 1365, 1381, 1420, 1421,
      1441, 1490, 1515, 1696, 1805, 1875, 1885
      $$






      share|cite|improve this answer
























        0












        0








        0






        Numbers of the form $(6k+1)(12k+1)(18k+1)$ are Carmichael numbers if each of the three factors is prime. This gives some examples - already $k=1$ works. Actually, the sequence A046025 gives more values, e.g.,



        $$
        k=1, 6, 35, 45, 51, 55, 56, 100, 121, 195, 206, 216, 255, 276, 370, 380,
        426, 506, 510, 511, 710, 741, 800, 825, 871, 930, 975, 1025, 1060, 1115,
        1140, 1161, 1270, 1280, 1281, 1311, 1336, 1361, 1365, 1381, 1420, 1421,
        1441, 1490, 1515, 1696, 1805, 1875, 1885
        $$






        share|cite|improve this answer












        Numbers of the form $(6k+1)(12k+1)(18k+1)$ are Carmichael numbers if each of the three factors is prime. This gives some examples - already $k=1$ works. Actually, the sequence A046025 gives more values, e.g.,



        $$
        k=1, 6, 35, 45, 51, 55, 56, 100, 121, 195, 206, 216, 255, 276, 370, 380,
        426, 506, 510, 511, 710, 741, 800, 825, 871, 930, 975, 1025, 1060, 1115,
        1140, 1161, 1270, 1280, 1281, 1311, 1336, 1361, 1365, 1381, 1420, 1421,
        1441, 1490, 1515, 1696, 1805, 1875, 1885
        $$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Nov 28 '18 at 19:13









        Dietrich BurdeDietrich Burde

        78k64386




        78k64386






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • 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.


            Use MathJax to format equations. MathJax reference.


            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%2fmath.stackexchange.com%2fquestions%2f3017393%2ffermats-little-theorem-and-carmichael-numbers%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

            Quarter-circle Tiles

            build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

            Mont Emei