Primes and Squares











up vote
7
down vote

favorite












Place a different prime or square number on each of the fifteen disks below so that the number in any disk that lies on two others is the sum of the numbers in those disks. Do so in such a way that the number on the apex is as small as possible.



enter image description here










share|improve this question






















  • is this something you composed yourself?
    – Kate Gregory
    Nov 26 at 15:13










  • @KateGregory: A variation on an old theme.
    – Bernardo Recamán Santos
    Nov 26 at 15:15










  • Zero (as a square) allowed?
    – z100
    Nov 26 at 20:43






  • 1




    @z100 You could not use a zero, since $x + 0 = x$, and therefore you'd have to have two $x$'es in your grid; that is disallowed. See imgur.com/a/gPWWkaN for explanation.
    – Hugh
    Nov 26 at 21:55

















up vote
7
down vote

favorite












Place a different prime or square number on each of the fifteen disks below so that the number in any disk that lies on two others is the sum of the numbers in those disks. Do so in such a way that the number on the apex is as small as possible.



enter image description here










share|improve this question






















  • is this something you composed yourself?
    – Kate Gregory
    Nov 26 at 15:13










  • @KateGregory: A variation on an old theme.
    – Bernardo Recamán Santos
    Nov 26 at 15:15










  • Zero (as a square) allowed?
    – z100
    Nov 26 at 20:43






  • 1




    @z100 You could not use a zero, since $x + 0 = x$, and therefore you'd have to have two $x$'es in your grid; that is disallowed. See imgur.com/a/gPWWkaN for explanation.
    – Hugh
    Nov 26 at 21:55















up vote
7
down vote

favorite









up vote
7
down vote

favorite











Place a different prime or square number on each of the fifteen disks below so that the number in any disk that lies on two others is the sum of the numbers in those disks. Do so in such a way that the number on the apex is as small as possible.



enter image description here










share|improve this question













Place a different prime or square number on each of the fifteen disks below so that the number in any disk that lies on two others is the sum of the numbers in those disks. Do so in such a way that the number on the apex is as small as possible.



enter image description here







mathematics arithmetic






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 26 at 14:59









Bernardo Recamán Santos

2,2881141




2,2881141












  • is this something you composed yourself?
    – Kate Gregory
    Nov 26 at 15:13










  • @KateGregory: A variation on an old theme.
    – Bernardo Recamán Santos
    Nov 26 at 15:15










  • Zero (as a square) allowed?
    – z100
    Nov 26 at 20:43






  • 1




    @z100 You could not use a zero, since $x + 0 = x$, and therefore you'd have to have two $x$'es in your grid; that is disallowed. See imgur.com/a/gPWWkaN for explanation.
    – Hugh
    Nov 26 at 21:55




















  • is this something you composed yourself?
    – Kate Gregory
    Nov 26 at 15:13










  • @KateGregory: A variation on an old theme.
    – Bernardo Recamán Santos
    Nov 26 at 15:15










  • Zero (as a square) allowed?
    – z100
    Nov 26 at 20:43






  • 1




    @z100 You could not use a zero, since $x + 0 = x$, and therefore you'd have to have two $x$'es in your grid; that is disallowed. See imgur.com/a/gPWWkaN for explanation.
    – Hugh
    Nov 26 at 21:55


















is this something you composed yourself?
– Kate Gregory
Nov 26 at 15:13




is this something you composed yourself?
– Kate Gregory
Nov 26 at 15:13












@KateGregory: A variation on an old theme.
– Bernardo Recamán Santos
Nov 26 at 15:15




@KateGregory: A variation on an old theme.
– Bernardo Recamán Santos
Nov 26 at 15:15












Zero (as a square) allowed?
– z100
Nov 26 at 20:43




Zero (as a square) allowed?
– z100
Nov 26 at 20:43




1




1




@z100 You could not use a zero, since $x + 0 = x$, and therefore you'd have to have two $x$'es in your grid; that is disallowed. See imgur.com/a/gPWWkaN for explanation.
– Hugh
Nov 26 at 21:55






@z100 You could not use a zero, since $x + 0 = x$, and therefore you'd have to have two $x$'es in your grid; that is disallowed. See imgur.com/a/gPWWkaN for explanation.
– Hugh
Nov 26 at 21:55












2 Answers
2






active

oldest

votes

















up vote
8
down vote



accepted










A much lower upper bound, which I'm fairly sure is optimal (assuming 0 is disallowed).





              1669 
576 || 1093
383 || 193 || 900
347 || 36 || 157 || 743
324 || 23 || 13 || 144 || 599






share|improve this answer























  • Algorithm used extening the order? E.G.: 1st order: 1 ; 2nd order: 3 (1 2) ; 3rd order: 16 (3 13) (1 2 11) ; or 16 (13 3) (12 1 2) ;
    – z100
    Nov 26 at 21:25












  • @z100 I'm afraid I'm not sure what you're asking - could you clarify?
    – B. Mehta
    Nov 26 at 21:33






  • 1




    My own (extremely shameful, dirty, brute-force) code confirms this answer is optimal. I can also provide the smallest apex value for a 4-level tree, which is 23.
    – benj2240
    Nov 27 at 1:03






  • 1




    @BernardoRecamánSantos Oh! You're right, 23 isn't possible. I didn't notice that I had a duplicated 3... Dirty code leads to dirty bugs. Let me correct myself: The smallest apex value for a 4-level tree is 59.
    – benj2240
    Nov 28 at 1:14






  • 1




    @benj2240: Yes, 59 is the lowest my students have achieved.
    – Bernardo Recamán Santos
    Nov 28 at 1:18


















up vote
5
down vote













Alright, I’ve definitely got an upper bound here.




enter image description here




In text:





                  390625 
140625 || 250000
50625 || 90000 || 160000
18225 || 32400 || 57600 || 102400
6561 || 11664 || 20736 || 36864 || 65536



However,




this uses all square numbers, and is far from optimal. I’ll have to see if I can reduce it by using primes.







share|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: "559"
    };
    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: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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%2fpuzzling.stackexchange.com%2fquestions%2f75754%2fprimes-and-squares%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    8
    down vote



    accepted










    A much lower upper bound, which I'm fairly sure is optimal (assuming 0 is disallowed).





                  1669 
    576 || 1093
    383 || 193 || 900
    347 || 36 || 157 || 743
    324 || 23 || 13 || 144 || 599






    share|improve this answer























    • Algorithm used extening the order? E.G.: 1st order: 1 ; 2nd order: 3 (1 2) ; 3rd order: 16 (3 13) (1 2 11) ; or 16 (13 3) (12 1 2) ;
      – z100
      Nov 26 at 21:25












    • @z100 I'm afraid I'm not sure what you're asking - could you clarify?
      – B. Mehta
      Nov 26 at 21:33






    • 1




      My own (extremely shameful, dirty, brute-force) code confirms this answer is optimal. I can also provide the smallest apex value for a 4-level tree, which is 23.
      – benj2240
      Nov 27 at 1:03






    • 1




      @BernardoRecamánSantos Oh! You're right, 23 isn't possible. I didn't notice that I had a duplicated 3... Dirty code leads to dirty bugs. Let me correct myself: The smallest apex value for a 4-level tree is 59.
      – benj2240
      Nov 28 at 1:14






    • 1




      @benj2240: Yes, 59 is the lowest my students have achieved.
      – Bernardo Recamán Santos
      Nov 28 at 1:18















    up vote
    8
    down vote



    accepted










    A much lower upper bound, which I'm fairly sure is optimal (assuming 0 is disallowed).





                  1669 
    576 || 1093
    383 || 193 || 900
    347 || 36 || 157 || 743
    324 || 23 || 13 || 144 || 599






    share|improve this answer























    • Algorithm used extening the order? E.G.: 1st order: 1 ; 2nd order: 3 (1 2) ; 3rd order: 16 (3 13) (1 2 11) ; or 16 (13 3) (12 1 2) ;
      – z100
      Nov 26 at 21:25












    • @z100 I'm afraid I'm not sure what you're asking - could you clarify?
      – B. Mehta
      Nov 26 at 21:33






    • 1




      My own (extremely shameful, dirty, brute-force) code confirms this answer is optimal. I can also provide the smallest apex value for a 4-level tree, which is 23.
      – benj2240
      Nov 27 at 1:03






    • 1




      @BernardoRecamánSantos Oh! You're right, 23 isn't possible. I didn't notice that I had a duplicated 3... Dirty code leads to dirty bugs. Let me correct myself: The smallest apex value for a 4-level tree is 59.
      – benj2240
      Nov 28 at 1:14






    • 1




      @benj2240: Yes, 59 is the lowest my students have achieved.
      – Bernardo Recamán Santos
      Nov 28 at 1:18













    up vote
    8
    down vote



    accepted







    up vote
    8
    down vote



    accepted






    A much lower upper bound, which I'm fairly sure is optimal (assuming 0 is disallowed).





                  1669 
    576 || 1093
    383 || 193 || 900
    347 || 36 || 157 || 743
    324 || 23 || 13 || 144 || 599






    share|improve this answer














    A much lower upper bound, which I'm fairly sure is optimal (assuming 0 is disallowed).





                  1669 
    576 || 1093
    383 || 193 || 900
    347 || 36 || 157 || 743
    324 || 23 || 13 || 144 || 599







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Nov 26 at 21:20

























    answered Nov 26 at 20:28









    B. Mehta

    1963




    1963












    • Algorithm used extening the order? E.G.: 1st order: 1 ; 2nd order: 3 (1 2) ; 3rd order: 16 (3 13) (1 2 11) ; or 16 (13 3) (12 1 2) ;
      – z100
      Nov 26 at 21:25












    • @z100 I'm afraid I'm not sure what you're asking - could you clarify?
      – B. Mehta
      Nov 26 at 21:33






    • 1




      My own (extremely shameful, dirty, brute-force) code confirms this answer is optimal. I can also provide the smallest apex value for a 4-level tree, which is 23.
      – benj2240
      Nov 27 at 1:03






    • 1




      @BernardoRecamánSantos Oh! You're right, 23 isn't possible. I didn't notice that I had a duplicated 3... Dirty code leads to dirty bugs. Let me correct myself: The smallest apex value for a 4-level tree is 59.
      – benj2240
      Nov 28 at 1:14






    • 1




      @benj2240: Yes, 59 is the lowest my students have achieved.
      – Bernardo Recamán Santos
      Nov 28 at 1:18


















    • Algorithm used extening the order? E.G.: 1st order: 1 ; 2nd order: 3 (1 2) ; 3rd order: 16 (3 13) (1 2 11) ; or 16 (13 3) (12 1 2) ;
      – z100
      Nov 26 at 21:25












    • @z100 I'm afraid I'm not sure what you're asking - could you clarify?
      – B. Mehta
      Nov 26 at 21:33






    • 1




      My own (extremely shameful, dirty, brute-force) code confirms this answer is optimal. I can also provide the smallest apex value for a 4-level tree, which is 23.
      – benj2240
      Nov 27 at 1:03






    • 1




      @BernardoRecamánSantos Oh! You're right, 23 isn't possible. I didn't notice that I had a duplicated 3... Dirty code leads to dirty bugs. Let me correct myself: The smallest apex value for a 4-level tree is 59.
      – benj2240
      Nov 28 at 1:14






    • 1




      @benj2240: Yes, 59 is the lowest my students have achieved.
      – Bernardo Recamán Santos
      Nov 28 at 1:18
















    Algorithm used extening the order? E.G.: 1st order: 1 ; 2nd order: 3 (1 2) ; 3rd order: 16 (3 13) (1 2 11) ; or 16 (13 3) (12 1 2) ;
    – z100
    Nov 26 at 21:25






    Algorithm used extening the order? E.G.: 1st order: 1 ; 2nd order: 3 (1 2) ; 3rd order: 16 (3 13) (1 2 11) ; or 16 (13 3) (12 1 2) ;
    – z100
    Nov 26 at 21:25














    @z100 I'm afraid I'm not sure what you're asking - could you clarify?
    – B. Mehta
    Nov 26 at 21:33




    @z100 I'm afraid I'm not sure what you're asking - could you clarify?
    – B. Mehta
    Nov 26 at 21:33




    1




    1




    My own (extremely shameful, dirty, brute-force) code confirms this answer is optimal. I can also provide the smallest apex value for a 4-level tree, which is 23.
    – benj2240
    Nov 27 at 1:03




    My own (extremely shameful, dirty, brute-force) code confirms this answer is optimal. I can also provide the smallest apex value for a 4-level tree, which is 23.
    – benj2240
    Nov 27 at 1:03




    1




    1




    @BernardoRecamánSantos Oh! You're right, 23 isn't possible. I didn't notice that I had a duplicated 3... Dirty code leads to dirty bugs. Let me correct myself: The smallest apex value for a 4-level tree is 59.
    – benj2240
    Nov 28 at 1:14




    @BernardoRecamánSantos Oh! You're right, 23 isn't possible. I didn't notice that I had a duplicated 3... Dirty code leads to dirty bugs. Let me correct myself: The smallest apex value for a 4-level tree is 59.
    – benj2240
    Nov 28 at 1:14




    1




    1




    @benj2240: Yes, 59 is the lowest my students have achieved.
    – Bernardo Recamán Santos
    Nov 28 at 1:18




    @benj2240: Yes, 59 is the lowest my students have achieved.
    – Bernardo Recamán Santos
    Nov 28 at 1:18










    up vote
    5
    down vote













    Alright, I’ve definitely got an upper bound here.




    enter image description here




    In text:





                      390625 
    140625 || 250000
    50625 || 90000 || 160000
    18225 || 32400 || 57600 || 102400
    6561 || 11664 || 20736 || 36864 || 65536



    However,




    this uses all square numbers, and is far from optimal. I’ll have to see if I can reduce it by using primes.







    share|improve this answer



























      up vote
      5
      down vote













      Alright, I’ve definitely got an upper bound here.




      enter image description here




      In text:





                        390625 
      140625 || 250000
      50625 || 90000 || 160000
      18225 || 32400 || 57600 || 102400
      6561 || 11664 || 20736 || 36864 || 65536



      However,




      this uses all square numbers, and is far from optimal. I’ll have to see if I can reduce it by using primes.







      share|improve this answer

























        up vote
        5
        down vote










        up vote
        5
        down vote









        Alright, I’ve definitely got an upper bound here.




        enter image description here




        In text:





                          390625 
        140625 || 250000
        50625 || 90000 || 160000
        18225 || 32400 || 57600 || 102400
        6561 || 11664 || 20736 || 36864 || 65536



        However,




        this uses all square numbers, and is far from optimal. I’ll have to see if I can reduce it by using primes.







        share|improve this answer














        Alright, I’ve definitely got an upper bound here.




        enter image description here




        In text:





                          390625 
        140625 || 250000
        50625 || 90000 || 160000
        18225 || 32400 || 57600 || 102400
        6561 || 11664 || 20736 || 36864 || 65536



        However,




        this uses all square numbers, and is far from optimal. I’ll have to see if I can reduce it by using primes.








        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 26 at 16:51









        gabbo1092

        4,683738




        4,683738










        answered Nov 26 at 16:32









        Excited Raichu

        4,687754




        4,687754






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Puzzling 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%2fpuzzling.stackexchange.com%2fquestions%2f75754%2fprimes-and-squares%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

            Aardman Animations

            Are they similar matrix

            “minimization” problem in Euclidean space related to orthonormal basis