Do I have a twin with permutated remainders?Split a word into parts with equal scoresChinese Remainder TheoremMaximise the squared differenceIs it a Mersenne Prime?Your Base to 1-2-3-Tribonacci to Binary back to Your BaseIs this number a factorial?Write numbers as a difference of Nth powersConjugate permutationsAm I a Pillai prime?Passwords Strong Against Bishops

How to show the equivalence between the regularized regression and their constraint formulas using KKT

Do I have a twin with permutated remainders?

How do I write bicross product symbols in latex?

How to say in German "enjoying home comforts"

Neighboring nodes in the network

Arrow those variables!

Twin primes whose sum is a cube

Alternative to sending password over mail?

Why are electrically insulating heatsinks so rare? Is it just cost?

SSH "lag" in LAN on some machines, mixed distros

Stopping power of mountain vs road bike

Withdrawals from HSA

Is "remove commented out code" correct English?

Why is Collection not simply treated as Collection<?>

prove that the matrix A is diagonalizable

How to take photos in burst mode, without vibration?

Brothers & sisters

What does it mean to describe someone as a butt steak?

Did converts (ger tzedek) in ancient Israel own land?

Could gravitational lensing be used to protect a spaceship from a laser?

Why does Kotter return in Welcome Back Kotter

How can saying a song's name be a copyright violation?

Emailing HOD to enhance faculty application

Watching something be written to a file live with tail



Do I have a twin with permutated remainders?


Split a word into parts with equal scoresChinese Remainder TheoremMaximise the squared differenceIs it a Mersenne Prime?Your Base to 1-2-3-Tribonacci to Binary back to Your BaseIs this number a factorial?Write numbers as a difference of Nth powersConjugate permutationsAm I a Pillai prime?Passwords Strong Against Bishops













12












$begingroup$


We define $R_n$ as the list of remainders of the Euclidean division of $n$ by $2$, $3$, $5$ and $7$.



Given an integer $nge0$, you have to figure out if there exists an integer $0<k<210$ such that $R_n+k$ is a permutation of $R_n$.



Examples



The criterion is met for $n=8$, because:



  • we have $R_8=(0,2,3,1)$

  • for $k=44$, we have $R_n+k=R_52=(0,1,2,3)$, which is a permutation of $R_8$

The criterion is not met for $n=48$, because:



  • we have $R_48=(0,0,3,6)$

  • the smallest integer $k>0$ such that $R_n+k$ is a permutation of $R_48$ is $k=210$ (leading to $R_258=(0,0,3,6)$ as well)

Rules



  • You may either output a truthy value if $k$ exists and a falsy value otherwise, or two distinct and consistent values of your choice.

  • This is code-golf.

Hint




Do you really need to compute $k$? Well, maybe. Or maybe not.




Test cases



Some values of $n$ for which $k$ exists:



3, 4, 5, 8, 30, 100, 200, 2019


Some values of $n$ for which $k$ does not exist:



0, 1, 2, 13, 19, 48, 210, 1999









share|improve this question









$endgroup$











  • $begingroup$
    Why can't 2 happen? k=2 = 0,2; k=2+28=0,2. Same for 1999 + 42
    $endgroup$
    – Ven
    7 hours ago











  • $begingroup$
    Oh, duh. I get it now.
    $endgroup$
    – Ven
    6 hours ago















12












$begingroup$


We define $R_n$ as the list of remainders of the Euclidean division of $n$ by $2$, $3$, $5$ and $7$.



Given an integer $nge0$, you have to figure out if there exists an integer $0<k<210$ such that $R_n+k$ is a permutation of $R_n$.



Examples



The criterion is met for $n=8$, because:



  • we have $R_8=(0,2,3,1)$

  • for $k=44$, we have $R_n+k=R_52=(0,1,2,3)$, which is a permutation of $R_8$

The criterion is not met for $n=48$, because:



  • we have $R_48=(0,0,3,6)$

  • the smallest integer $k>0$ such that $R_n+k$ is a permutation of $R_48$ is $k=210$ (leading to $R_258=(0,0,3,6)$ as well)

Rules



  • You may either output a truthy value if $k$ exists and a falsy value otherwise, or two distinct and consistent values of your choice.

  • This is code-golf.

Hint




Do you really need to compute $k$? Well, maybe. Or maybe not.




Test cases



Some values of $n$ for which $k$ exists:



3, 4, 5, 8, 30, 100, 200, 2019


Some values of $n$ for which $k$ does not exist:



0, 1, 2, 13, 19, 48, 210, 1999









share|improve this question









$endgroup$











  • $begingroup$
    Why can't 2 happen? k=2 = 0,2; k=2+28=0,2. Same for 1999 + 42
    $endgroup$
    – Ven
    7 hours ago











  • $begingroup$
    Oh, duh. I get it now.
    $endgroup$
    – Ven
    6 hours ago













12












12








12





$begingroup$


We define $R_n$ as the list of remainders of the Euclidean division of $n$ by $2$, $3$, $5$ and $7$.



Given an integer $nge0$, you have to figure out if there exists an integer $0<k<210$ such that $R_n+k$ is a permutation of $R_n$.



Examples



The criterion is met for $n=8$, because:



  • we have $R_8=(0,2,3,1)$

  • for $k=44$, we have $R_n+k=R_52=(0,1,2,3)$, which is a permutation of $R_8$

The criterion is not met for $n=48$, because:



  • we have $R_48=(0,0,3,6)$

  • the smallest integer $k>0$ such that $R_n+k$ is a permutation of $R_48$ is $k=210$ (leading to $R_258=(0,0,3,6)$ as well)

Rules



  • You may either output a truthy value if $k$ exists and a falsy value otherwise, or two distinct and consistent values of your choice.

  • This is code-golf.

Hint




Do you really need to compute $k$? Well, maybe. Or maybe not.




Test cases



Some values of $n$ for which $k$ exists:



3, 4, 5, 8, 30, 100, 200, 2019


Some values of $n$ for which $k$ does not exist:



0, 1, 2, 13, 19, 48, 210, 1999









share|improve this question









$endgroup$




We define $R_n$ as the list of remainders of the Euclidean division of $n$ by $2$, $3$, $5$ and $7$.



Given an integer $nge0$, you have to figure out if there exists an integer $0<k<210$ such that $R_n+k$ is a permutation of $R_n$.



Examples



The criterion is met for $n=8$, because:



  • we have $R_8=(0,2,3,1)$

  • for $k=44$, we have $R_n+k=R_52=(0,1,2,3)$, which is a permutation of $R_8$

The criterion is not met for $n=48$, because:



  • we have $R_48=(0,0,3,6)$

  • the smallest integer $k>0$ such that $R_n+k$ is a permutation of $R_48$ is $k=210$ (leading to $R_258=(0,0,3,6)$ as well)

Rules



  • You may either output a truthy value if $k$ exists and a falsy value otherwise, or two distinct and consistent values of your choice.

  • This is code-golf.

Hint




Do you really need to compute $k$? Well, maybe. Or maybe not.




Test cases



Some values of $n$ for which $k$ exists:



3, 4, 5, 8, 30, 100, 200, 2019


Some values of $n$ for which $k$ does not exist:



0, 1, 2, 13, 19, 48, 210, 1999






code-golf decision-problem number-theory






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 7 hours ago









ArnauldArnauld

80.3k797332




80.3k797332











  • $begingroup$
    Why can't 2 happen? k=2 = 0,2; k=2+28=0,2. Same for 1999 + 42
    $endgroup$
    – Ven
    7 hours ago











  • $begingroup$
    Oh, duh. I get it now.
    $endgroup$
    – Ven
    6 hours ago
















  • $begingroup$
    Why can't 2 happen? k=2 = 0,2; k=2+28=0,2. Same for 1999 + 42
    $endgroup$
    – Ven
    7 hours ago











  • $begingroup$
    Oh, duh. I get it now.
    $endgroup$
    – Ven
    6 hours ago















$begingroup$
Why can't 2 happen? k=2 = 0,2; k=2+28=0,2. Same for 1999 + 42
$endgroup$
– Ven
7 hours ago





$begingroup$
Why can't 2 happen? k=2 = 0,2; k=2+28=0,2. Same for 1999 + 42
$endgroup$
– Ven
7 hours ago













$begingroup$
Oh, duh. I get it now.
$endgroup$
– Ven
6 hours ago




$begingroup$
Oh, duh. I get it now.
$endgroup$
– Ven
6 hours ago










10 Answers
10






active

oldest

votes


















8












$begingroup$


R, 63 59 bytes





s=scan()%%c(2,3,5,7);i=which(s<c(0,2,3,5));any(s[i]-s[i-1])


Try it online!



-4 bytes thanks to Giuseppe



(The explanation contains a spoiler as to how to solve the problem without computing $k$.)



Explanation:
Let $s$ be the list of remainders. Note the constraint that s[1]<2, s[2]<3, s[3]<5 and s[4]<7. There exists a $k$ iff there is a permutation of $s$, distinct from $s$, which verifies the constraint. In practice, this will be verified if one of the following conditions is verified:



  • s[2]<2 and s[2]!=s[1]

  • s[3]<3 and s[3]!=s[2]

  • s[4]<5 and s[4]!=s[3]

The code can probably be golfed further.






share|improve this answer










New contributor




Robin Ryder is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$




















    4












    $begingroup$


    Haskell, 69 bytes



    Based on the Chinese remainder theorem





    m=[2,3,5,7]
    f x|s<-mod x<$>m=or[m!!a>b|a<-[0..2],b<-drop a s,s!!a/=b]


    Try it online!






    share|improve this answer









    $endgroup$




















      3












      $begingroup$


      C# (Visual C# Interactive Compiler), 125 bytes





      n=>Enumerable.Range(n+1,209).Any(c=>new[]c%2,c%3,c%5,c%7.OrderBy(x=>x).SequenceEqual(new[]n%2,n%3,n%5,n%7.OrderBy(x=>x)))


      Try it online!






      share|improve this answer









      $endgroup$




















        2












        $begingroup$


        Wolfram Language (Mathematica), 67 bytes



        !FreeQ[Sort/@Table[R[#+k],k,209],Sort@R@#]&
        R@n_:=n~Mod~2,3,5,7


        Try it online!






        share|improve this answer











        $endgroup$




















          2












          $begingroup$


          Perl 6, 64 61 59 bytes





          my&f=bag($_ X%2,3,5,7);any(($_+1+ ^209).map(&f))===f $_


          Try it online!



          Fixed my bug by changing set to bag :).



          Explanation:



          my&f=bag($_ X%2,3,5,7);any(($_+1+ ^209).map(&f))===f $_
          my&f=bag($_ X%2,3,5,7); # helper function: f
          $_ ; # takes the implicit argument $_
          X%2,3,5,7 # cross metaoperator with divide: does cross product division
          bag( ) # stores the results in a bag (weighed set, knows how many identical items it contains)
          ($_+1+ ^209) # Generates a range of the argument +1 up to 209+argument+1
          .map(&f) # Apply the helper function for each value in that range
          any( ) # Is any of these bags
          === # Equal to
          f $_ # The helper function result for the given argument?



          Alternative version:



          my @a=($_+ ^209).map:bag($_ X%2,3,5,7);@a.shift===any @a





          share|improve this answer











          $endgroup$




















            2












            $begingroup$


            Ruby, 54 bytes





            ->n[2,3,5,7].each_cons(2).any?n%l!=n%h&&n%h<l


            Try it online!



            Uses Robin Ryder's clever solution.






            share|improve this answer









            $endgroup$




















              1












              $begingroup$


              R, 72 bytes





              n=scan();b=c(2,3,5,7);for(i in n+1:209)F=F|all(sort(n%%b)==sort(i%%b));F


              Try it online!






              share|improve this answer









              $endgroup$




















                1












                $begingroup$


                Jelly, 15 bytes



                8ÆR©PḶ+%Ṣ¥€®ċḢ$


                Try it online!



                I’m sure there’s a golfier answer. I’ve interpreted a truthy value as being anything that isn’t zero, so here it’s the number of possible values of k. If it needs to be two distinct values that costs me a further byte.






                share|improve this answer









                $endgroup$








                • 1




                  $begingroup$
                  All good regarding truthy vs falsey. Using the meta agreed definition of truthy and falsey (effectively "what does the language's if-else construct do if there is one) zero is falsey and non-zeros are truthy (? is the if-else construct in Jelly; for some languages it's a harder question).
                  $endgroup$
                  – Jonathan Allan
                  5 hours ago










                • $begingroup$
                  Oh, and you could get distinct values for no cost with Ḣe$ if you wanted :)
                  $endgroup$
                  – Jonathan Allan
                  5 hours ago










                • $begingroup$
                  @JonathanAllan yes of course, thanks. :)
                  $endgroup$
                  – Nick Kennedy
                  5 hours ago



















                1












                $begingroup$


                PHP, 81 78 72 bytes





                while($y<3)if($argn%($u='235'[$y])!=($b=$argn%'357'[$y++])&$b<$u)die(T);


                A riff on @Robin Ryder's answer. Input is via STDIN, output is 'T' if truthy, and empty '' if falsy.



                $ echo 3|php -nF euc.php
                T
                $ echo 5|php -nF euc.php
                T
                $ echo 2019|php -nF euc.php
                T
                $ echo 0|php -nF euc.php

                $ echo 2|php -nF euc.php

                $ echo 1999|php -nF euc.php


                Try it online!



                Or 73 bytes with 1 or 0 response



                while($y<3)$r|=$argn%($u='235'[$y])!=($b=$argn%'357'[$y++])&$b<$u;echo$r;



                $ echo 2019|php -nF euc.php
                1
                $ echo 1999|php -nF euc.php
                0


                Try it online (all test cases)!



                Original answer, 133 127 bytes



                function($n)while(++$k<210)if(($r=function($n)foreach([2,3,5,7]as$d)$o[]=$n%$d;sort($o);return$o;)($n+$k)==$r($n))return 1;


                Try it online!






                share|improve this answer











                $endgroup$




















                  0












                  $begingroup$


                  Python 3, 69 bytes





                  lambda x:int('4LR2991ODO5GS2974QWH22YTLL3E3I6TDADQG87I0',36)&1<<x%210


                  Try it online!



                  Hardcoded






                  share|improve this answer









                  $endgroup$













                    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.ifUsing("editor", function ()
                    StackExchange.using("externalEditor", function ()
                    StackExchange.using("snippets", function ()
                    StackExchange.snippets.init();
                    );
                    );
                    , "code-snippets");

                    StackExchange.ready(function()
                    var channelOptions =
                    tags: "".split(" "),
                    id: "200"
                    ;
                    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: 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
                    ,
                    onDemand: true,
                    discardSelector: ".discard-answer"
                    ,immediatelyShowMarkdownHelp:true
                    );



                    );













                    draft saved

                    draft discarded


















                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcodegolf.stackexchange.com%2fquestions%2f182669%2fdo-i-have-a-twin-with-permutated-remainders%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown

























                    10 Answers
                    10






                    active

                    oldest

                    votes








                    10 Answers
                    10






                    active

                    oldest

                    votes









                    active

                    oldest

                    votes






                    active

                    oldest

                    votes









                    8












                    $begingroup$


                    R, 63 59 bytes





                    s=scan()%%c(2,3,5,7);i=which(s<c(0,2,3,5));any(s[i]-s[i-1])


                    Try it online!



                    -4 bytes thanks to Giuseppe



                    (The explanation contains a spoiler as to how to solve the problem without computing $k$.)



                    Explanation:
                    Let $s$ be the list of remainders. Note the constraint that s[1]<2, s[2]<3, s[3]<5 and s[4]<7. There exists a $k$ iff there is a permutation of $s$, distinct from $s$, which verifies the constraint. In practice, this will be verified if one of the following conditions is verified:



                    • s[2]<2 and s[2]!=s[1]

                    • s[3]<3 and s[3]!=s[2]

                    • s[4]<5 and s[4]!=s[3]

                    The code can probably be golfed further.






                    share|improve this answer










                    New contributor




                    Robin Ryder is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                    Check out our Code of Conduct.






                    $endgroup$

















                      8












                      $begingroup$


                      R, 63 59 bytes





                      s=scan()%%c(2,3,5,7);i=which(s<c(0,2,3,5));any(s[i]-s[i-1])


                      Try it online!



                      -4 bytes thanks to Giuseppe



                      (The explanation contains a spoiler as to how to solve the problem without computing $k$.)



                      Explanation:
                      Let $s$ be the list of remainders. Note the constraint that s[1]<2, s[2]<3, s[3]<5 and s[4]<7. There exists a $k$ iff there is a permutation of $s$, distinct from $s$, which verifies the constraint. In practice, this will be verified if one of the following conditions is verified:



                      • s[2]<2 and s[2]!=s[1]

                      • s[3]<3 and s[3]!=s[2]

                      • s[4]<5 and s[4]!=s[3]

                      The code can probably be golfed further.






                      share|improve this answer










                      New contributor




                      Robin Ryder is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                      Check out our Code of Conduct.






                      $endgroup$















                        8












                        8








                        8





                        $begingroup$


                        R, 63 59 bytes





                        s=scan()%%c(2,3,5,7);i=which(s<c(0,2,3,5));any(s[i]-s[i-1])


                        Try it online!



                        -4 bytes thanks to Giuseppe



                        (The explanation contains a spoiler as to how to solve the problem without computing $k$.)



                        Explanation:
                        Let $s$ be the list of remainders. Note the constraint that s[1]<2, s[2]<3, s[3]<5 and s[4]<7. There exists a $k$ iff there is a permutation of $s$, distinct from $s$, which verifies the constraint. In practice, this will be verified if one of the following conditions is verified:



                        • s[2]<2 and s[2]!=s[1]

                        • s[3]<3 and s[3]!=s[2]

                        • s[4]<5 and s[4]!=s[3]

                        The code can probably be golfed further.






                        share|improve this answer










                        New contributor




                        Robin Ryder is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.






                        $endgroup$




                        R, 63 59 bytes





                        s=scan()%%c(2,3,5,7);i=which(s<c(0,2,3,5));any(s[i]-s[i-1])


                        Try it online!



                        -4 bytes thanks to Giuseppe



                        (The explanation contains a spoiler as to how to solve the problem without computing $k$.)



                        Explanation:
                        Let $s$ be the list of remainders. Note the constraint that s[1]<2, s[2]<3, s[3]<5 and s[4]<7. There exists a $k$ iff there is a permutation of $s$, distinct from $s$, which verifies the constraint. In practice, this will be verified if one of the following conditions is verified:



                        • s[2]<2 and s[2]!=s[1]

                        • s[3]<3 and s[3]!=s[2]

                        • s[4]<5 and s[4]!=s[3]

                        The code can probably be golfed further.







                        share|improve this answer










                        New contributor




                        Robin Ryder is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.









                        share|improve this answer



                        share|improve this answer








                        edited 5 hours ago





















                        New contributor




                        Robin Ryder is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.









                        answered 6 hours ago









                        Robin RyderRobin Ryder

                        4116




                        4116




                        New contributor




                        Robin Ryder is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.





                        New contributor





                        Robin Ryder is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.






                        Robin Ryder is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.





















                            4












                            $begingroup$


                            Haskell, 69 bytes



                            Based on the Chinese remainder theorem





                            m=[2,3,5,7]
                            f x|s<-mod x<$>m=or[m!!a>b|a<-[0..2],b<-drop a s,s!!a/=b]


                            Try it online!






                            share|improve this answer









                            $endgroup$

















                              4












                              $begingroup$


                              Haskell, 69 bytes



                              Based on the Chinese remainder theorem





                              m=[2,3,5,7]
                              f x|s<-mod x<$>m=or[m!!a>b|a<-[0..2],b<-drop a s,s!!a/=b]


                              Try it online!






                              share|improve this answer









                              $endgroup$















                                4












                                4








                                4





                                $begingroup$


                                Haskell, 69 bytes



                                Based on the Chinese remainder theorem





                                m=[2,3,5,7]
                                f x|s<-mod x<$>m=or[m!!a>b|a<-[0..2],b<-drop a s,s!!a/=b]


                                Try it online!






                                share|improve this answer









                                $endgroup$




                                Haskell, 69 bytes



                                Based on the Chinese remainder theorem





                                m=[2,3,5,7]
                                f x|s<-mod x<$>m=or[m!!a>b|a<-[0..2],b<-drop a s,s!!a/=b]


                                Try it online!







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered 6 hours ago









                                H.PWizH.PWiz

                                10.3k21351




                                10.3k21351





















                                    3












                                    $begingroup$


                                    C# (Visual C# Interactive Compiler), 125 bytes





                                    n=>Enumerable.Range(n+1,209).Any(c=>new[]c%2,c%3,c%5,c%7.OrderBy(x=>x).SequenceEqual(new[]n%2,n%3,n%5,n%7.OrderBy(x=>x)))


                                    Try it online!






                                    share|improve this answer









                                    $endgroup$

















                                      3












                                      $begingroup$


                                      C# (Visual C# Interactive Compiler), 125 bytes





                                      n=>Enumerable.Range(n+1,209).Any(c=>new[]c%2,c%3,c%5,c%7.OrderBy(x=>x).SequenceEqual(new[]n%2,n%3,n%5,n%7.OrderBy(x=>x)))


                                      Try it online!






                                      share|improve this answer









                                      $endgroup$















                                        3












                                        3








                                        3





                                        $begingroup$


                                        C# (Visual C# Interactive Compiler), 125 bytes





                                        n=>Enumerable.Range(n+1,209).Any(c=>new[]c%2,c%3,c%5,c%7.OrderBy(x=>x).SequenceEqual(new[]n%2,n%3,n%5,n%7.OrderBy(x=>x)))


                                        Try it online!






                                        share|improve this answer









                                        $endgroup$




                                        C# (Visual C# Interactive Compiler), 125 bytes





                                        n=>Enumerable.Range(n+1,209).Any(c=>new[]c%2,c%3,c%5,c%7.OrderBy(x=>x).SequenceEqual(new[]n%2,n%3,n%5,n%7.OrderBy(x=>x)))


                                        Try it online!







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered 6 hours ago









                                        Embodiment of IgnoranceEmbodiment of Ignorance

                                        2,718126




                                        2,718126





















                                            2












                                            $begingroup$


                                            Wolfram Language (Mathematica), 67 bytes



                                            !FreeQ[Sort/@Table[R[#+k],k,209],Sort@R@#]&
                                            R@n_:=n~Mod~2,3,5,7


                                            Try it online!






                                            share|improve this answer











                                            $endgroup$

















                                              2












                                              $begingroup$


                                              Wolfram Language (Mathematica), 67 bytes



                                              !FreeQ[Sort/@Table[R[#+k],k,209],Sort@R@#]&
                                              R@n_:=n~Mod~2,3,5,7


                                              Try it online!






                                              share|improve this answer











                                              $endgroup$















                                                2












                                                2








                                                2





                                                $begingroup$


                                                Wolfram Language (Mathematica), 67 bytes



                                                !FreeQ[Sort/@Table[R[#+k],k,209],Sort@R@#]&
                                                R@n_:=n~Mod~2,3,5,7


                                                Try it online!






                                                share|improve this answer











                                                $endgroup$




                                                Wolfram Language (Mathematica), 67 bytes



                                                !FreeQ[Sort/@Table[R[#+k],k,209],Sort@R@#]&
                                                R@n_:=n~Mod~2,3,5,7


                                                Try it online!







                                                share|improve this answer














                                                share|improve this answer



                                                share|improve this answer








                                                edited 7 hours ago

























                                                answered 7 hours ago









                                                J42161217J42161217

                                                13.8k21253




                                                13.8k21253





















                                                    2












                                                    $begingroup$


                                                    Perl 6, 64 61 59 bytes





                                                    my&f=bag($_ X%2,3,5,7);any(($_+1+ ^209).map(&f))===f $_


                                                    Try it online!



                                                    Fixed my bug by changing set to bag :).



                                                    Explanation:



                                                    my&f=bag($_ X%2,3,5,7);any(($_+1+ ^209).map(&f))===f $_
                                                    my&f=bag($_ X%2,3,5,7); # helper function: f
                                                    $_ ; # takes the implicit argument $_
                                                    X%2,3,5,7 # cross metaoperator with divide: does cross product division
                                                    bag( ) # stores the results in a bag (weighed set, knows how many identical items it contains)
                                                    ($_+1+ ^209) # Generates a range of the argument +1 up to 209+argument+1
                                                    .map(&f) # Apply the helper function for each value in that range
                                                    any( ) # Is any of these bags
                                                    === # Equal to
                                                    f $_ # The helper function result for the given argument?



                                                    Alternative version:



                                                    my @a=($_+ ^209).map:bag($_ X%2,3,5,7);@a.shift===any @a





                                                    share|improve this answer











                                                    $endgroup$

















                                                      2












                                                      $begingroup$


                                                      Perl 6, 64 61 59 bytes





                                                      my&f=bag($_ X%2,3,5,7);any(($_+1+ ^209).map(&f))===f $_


                                                      Try it online!



                                                      Fixed my bug by changing set to bag :).



                                                      Explanation:



                                                      my&f=bag($_ X%2,3,5,7);any(($_+1+ ^209).map(&f))===f $_
                                                      my&f=bag($_ X%2,3,5,7); # helper function: f
                                                      $_ ; # takes the implicit argument $_
                                                      X%2,3,5,7 # cross metaoperator with divide: does cross product division
                                                      bag( ) # stores the results in a bag (weighed set, knows how many identical items it contains)
                                                      ($_+1+ ^209) # Generates a range of the argument +1 up to 209+argument+1
                                                      .map(&f) # Apply the helper function for each value in that range
                                                      any( ) # Is any of these bags
                                                      === # Equal to
                                                      f $_ # The helper function result for the given argument?



                                                      Alternative version:



                                                      my @a=($_+ ^209).map:bag($_ X%2,3,5,7);@a.shift===any @a





                                                      share|improve this answer











                                                      $endgroup$















                                                        2












                                                        2








                                                        2





                                                        $begingroup$


                                                        Perl 6, 64 61 59 bytes





                                                        my&f=bag($_ X%2,3,5,7);any(($_+1+ ^209).map(&f))===f $_


                                                        Try it online!



                                                        Fixed my bug by changing set to bag :).



                                                        Explanation:



                                                        my&f=bag($_ X%2,3,5,7);any(($_+1+ ^209).map(&f))===f $_
                                                        my&f=bag($_ X%2,3,5,7); # helper function: f
                                                        $_ ; # takes the implicit argument $_
                                                        X%2,3,5,7 # cross metaoperator with divide: does cross product division
                                                        bag( ) # stores the results in a bag (weighed set, knows how many identical items it contains)
                                                        ($_+1+ ^209) # Generates a range of the argument +1 up to 209+argument+1
                                                        .map(&f) # Apply the helper function for each value in that range
                                                        any( ) # Is any of these bags
                                                        === # Equal to
                                                        f $_ # The helper function result for the given argument?



                                                        Alternative version:



                                                        my @a=($_+ ^209).map:bag($_ X%2,3,5,7);@a.shift===any @a





                                                        share|improve this answer











                                                        $endgroup$




                                                        Perl 6, 64 61 59 bytes





                                                        my&f=bag($_ X%2,3,5,7);any(($_+1+ ^209).map(&f))===f $_


                                                        Try it online!



                                                        Fixed my bug by changing set to bag :).



                                                        Explanation:



                                                        my&f=bag($_ X%2,3,5,7);any(($_+1+ ^209).map(&f))===f $_
                                                        my&f=bag($_ X%2,3,5,7); # helper function: f
                                                        $_ ; # takes the implicit argument $_
                                                        X%2,3,5,7 # cross metaoperator with divide: does cross product division
                                                        bag( ) # stores the results in a bag (weighed set, knows how many identical items it contains)
                                                        ($_+1+ ^209) # Generates a range of the argument +1 up to 209+argument+1
                                                        .map(&f) # Apply the helper function for each value in that range
                                                        any( ) # Is any of these bags
                                                        === # Equal to
                                                        f $_ # The helper function result for the given argument?



                                                        Alternative version:



                                                        my @a=($_+ ^209).map:bag($_ X%2,3,5,7);@a.shift===any @a






                                                        share|improve this answer














                                                        share|improve this answer



                                                        share|improve this answer








                                                        edited 6 hours ago

























                                                        answered 6 hours ago









                                                        VenVen

                                                        2,50511223




                                                        2,50511223





















                                                            2












                                                            $begingroup$


                                                            Ruby, 54 bytes





                                                            ->n[2,3,5,7].each_cons(2).any?n%l!=n%h&&n%h<l


                                                            Try it online!



                                                            Uses Robin Ryder's clever solution.






                                                            share|improve this answer









                                                            $endgroup$

















                                                              2












                                                              $begingroup$


                                                              Ruby, 54 bytes





                                                              ->n[2,3,5,7].each_cons(2).any?n%l!=n%h&&n%h<l


                                                              Try it online!



                                                              Uses Robin Ryder's clever solution.






                                                              share|improve this answer









                                                              $endgroup$















                                                                2












                                                                2








                                                                2





                                                                $begingroup$


                                                                Ruby, 54 bytes





                                                                ->n[2,3,5,7].each_cons(2).any?n%l!=n%h&&n%h<l


                                                                Try it online!



                                                                Uses Robin Ryder's clever solution.






                                                                share|improve this answer









                                                                $endgroup$




                                                                Ruby, 54 bytes





                                                                ->n[2,3,5,7].each_cons(2).any?n%l!=n%h&&n%h<l


                                                                Try it online!



                                                                Uses Robin Ryder's clever solution.







                                                                share|improve this answer












                                                                share|improve this answer



                                                                share|improve this answer










                                                                answered 4 hours ago









                                                                histocrathistocrat

                                                                19.2k43173




                                                                19.2k43173





















                                                                    1












                                                                    $begingroup$


                                                                    R, 72 bytes





                                                                    n=scan();b=c(2,3,5,7);for(i in n+1:209)F=F|all(sort(n%%b)==sort(i%%b));F


                                                                    Try it online!






                                                                    share|improve this answer









                                                                    $endgroup$

















                                                                      1












                                                                      $begingroup$


                                                                      R, 72 bytes





                                                                      n=scan();b=c(2,3,5,7);for(i in n+1:209)F=F|all(sort(n%%b)==sort(i%%b));F


                                                                      Try it online!






                                                                      share|improve this answer









                                                                      $endgroup$















                                                                        1












                                                                        1








                                                                        1





                                                                        $begingroup$


                                                                        R, 72 bytes





                                                                        n=scan();b=c(2,3,5,7);for(i in n+1:209)F=F|all(sort(n%%b)==sort(i%%b));F


                                                                        Try it online!






                                                                        share|improve this answer









                                                                        $endgroup$




                                                                        R, 72 bytes





                                                                        n=scan();b=c(2,3,5,7);for(i in n+1:209)F=F|all(sort(n%%b)==sort(i%%b));F


                                                                        Try it online!







                                                                        share|improve this answer












                                                                        share|improve this answer



                                                                        share|improve this answer










                                                                        answered 6 hours ago









                                                                        Aaron HaymanAaron Hayman

                                                                        3516




                                                                        3516





















                                                                            1












                                                                            $begingroup$


                                                                            Jelly, 15 bytes



                                                                            8ÆR©PḶ+%Ṣ¥€®ċḢ$


                                                                            Try it online!



                                                                            I’m sure there’s a golfier answer. I’ve interpreted a truthy value as being anything that isn’t zero, so here it’s the number of possible values of k. If it needs to be two distinct values that costs me a further byte.






                                                                            share|improve this answer









                                                                            $endgroup$








                                                                            • 1




                                                                              $begingroup$
                                                                              All good regarding truthy vs falsey. Using the meta agreed definition of truthy and falsey (effectively "what does the language's if-else construct do if there is one) zero is falsey and non-zeros are truthy (? is the if-else construct in Jelly; for some languages it's a harder question).
                                                                              $endgroup$
                                                                              – Jonathan Allan
                                                                              5 hours ago










                                                                            • $begingroup$
                                                                              Oh, and you could get distinct values for no cost with Ḣe$ if you wanted :)
                                                                              $endgroup$
                                                                              – Jonathan Allan
                                                                              5 hours ago










                                                                            • $begingroup$
                                                                              @JonathanAllan yes of course, thanks. :)
                                                                              $endgroup$
                                                                              – Nick Kennedy
                                                                              5 hours ago
















                                                                            1












                                                                            $begingroup$


                                                                            Jelly, 15 bytes



                                                                            8ÆR©PḶ+%Ṣ¥€®ċḢ$


                                                                            Try it online!



                                                                            I’m sure there’s a golfier answer. I’ve interpreted a truthy value as being anything that isn’t zero, so here it’s the number of possible values of k. If it needs to be two distinct values that costs me a further byte.






                                                                            share|improve this answer









                                                                            $endgroup$








                                                                            • 1




                                                                              $begingroup$
                                                                              All good regarding truthy vs falsey. Using the meta agreed definition of truthy and falsey (effectively "what does the language's if-else construct do if there is one) zero is falsey and non-zeros are truthy (? is the if-else construct in Jelly; for some languages it's a harder question).
                                                                              $endgroup$
                                                                              – Jonathan Allan
                                                                              5 hours ago










                                                                            • $begingroup$
                                                                              Oh, and you could get distinct values for no cost with Ḣe$ if you wanted :)
                                                                              $endgroup$
                                                                              – Jonathan Allan
                                                                              5 hours ago










                                                                            • $begingroup$
                                                                              @JonathanAllan yes of course, thanks. :)
                                                                              $endgroup$
                                                                              – Nick Kennedy
                                                                              5 hours ago














                                                                            1












                                                                            1








                                                                            1





                                                                            $begingroup$


                                                                            Jelly, 15 bytes



                                                                            8ÆR©PḶ+%Ṣ¥€®ċḢ$


                                                                            Try it online!



                                                                            I’m sure there’s a golfier answer. I’ve interpreted a truthy value as being anything that isn’t zero, so here it’s the number of possible values of k. If it needs to be two distinct values that costs me a further byte.






                                                                            share|improve this answer









                                                                            $endgroup$




                                                                            Jelly, 15 bytes



                                                                            8ÆR©PḶ+%Ṣ¥€®ċḢ$


                                                                            Try it online!



                                                                            I’m sure there’s a golfier answer. I’ve interpreted a truthy value as being anything that isn’t zero, so here it’s the number of possible values of k. If it needs to be two distinct values that costs me a further byte.







                                                                            share|improve this answer












                                                                            share|improve this answer



                                                                            share|improve this answer










                                                                            answered 5 hours ago









                                                                            Nick KennedyNick Kennedy

                                                                            1,31649




                                                                            1,31649







                                                                            • 1




                                                                              $begingroup$
                                                                              All good regarding truthy vs falsey. Using the meta agreed definition of truthy and falsey (effectively "what does the language's if-else construct do if there is one) zero is falsey and non-zeros are truthy (? is the if-else construct in Jelly; for some languages it's a harder question).
                                                                              $endgroup$
                                                                              – Jonathan Allan
                                                                              5 hours ago










                                                                            • $begingroup$
                                                                              Oh, and you could get distinct values for no cost with Ḣe$ if you wanted :)
                                                                              $endgroup$
                                                                              – Jonathan Allan
                                                                              5 hours ago










                                                                            • $begingroup$
                                                                              @JonathanAllan yes of course, thanks. :)
                                                                              $endgroup$
                                                                              – Nick Kennedy
                                                                              5 hours ago













                                                                            • 1




                                                                              $begingroup$
                                                                              All good regarding truthy vs falsey. Using the meta agreed definition of truthy and falsey (effectively "what does the language's if-else construct do if there is one) zero is falsey and non-zeros are truthy (? is the if-else construct in Jelly; for some languages it's a harder question).
                                                                              $endgroup$
                                                                              – Jonathan Allan
                                                                              5 hours ago










                                                                            • $begingroup$
                                                                              Oh, and you could get distinct values for no cost with Ḣe$ if you wanted :)
                                                                              $endgroup$
                                                                              – Jonathan Allan
                                                                              5 hours ago










                                                                            • $begingroup$
                                                                              @JonathanAllan yes of course, thanks. :)
                                                                              $endgroup$
                                                                              – Nick Kennedy
                                                                              5 hours ago








                                                                            1




                                                                            1




                                                                            $begingroup$
                                                                            All good regarding truthy vs falsey. Using the meta agreed definition of truthy and falsey (effectively "what does the language's if-else construct do if there is one) zero is falsey and non-zeros are truthy (? is the if-else construct in Jelly; for some languages it's a harder question).
                                                                            $endgroup$
                                                                            – Jonathan Allan
                                                                            5 hours ago




                                                                            $begingroup$
                                                                            All good regarding truthy vs falsey. Using the meta agreed definition of truthy and falsey (effectively "what does the language's if-else construct do if there is one) zero is falsey and non-zeros are truthy (? is the if-else construct in Jelly; for some languages it's a harder question).
                                                                            $endgroup$
                                                                            – Jonathan Allan
                                                                            5 hours ago












                                                                            $begingroup$
                                                                            Oh, and you could get distinct values for no cost with Ḣe$ if you wanted :)
                                                                            $endgroup$
                                                                            – Jonathan Allan
                                                                            5 hours ago




                                                                            $begingroup$
                                                                            Oh, and you could get distinct values for no cost with Ḣe$ if you wanted :)
                                                                            $endgroup$
                                                                            – Jonathan Allan
                                                                            5 hours ago












                                                                            $begingroup$
                                                                            @JonathanAllan yes of course, thanks. :)
                                                                            $endgroup$
                                                                            – Nick Kennedy
                                                                            5 hours ago





                                                                            $begingroup$
                                                                            @JonathanAllan yes of course, thanks. :)
                                                                            $endgroup$
                                                                            – Nick Kennedy
                                                                            5 hours ago












                                                                            1












                                                                            $begingroup$


                                                                            PHP, 81 78 72 bytes





                                                                            while($y<3)if($argn%($u='235'[$y])!=($b=$argn%'357'[$y++])&$b<$u)die(T);


                                                                            A riff on @Robin Ryder's answer. Input is via STDIN, output is 'T' if truthy, and empty '' if falsy.



                                                                            $ echo 3|php -nF euc.php
                                                                            T
                                                                            $ echo 5|php -nF euc.php
                                                                            T
                                                                            $ echo 2019|php -nF euc.php
                                                                            T
                                                                            $ echo 0|php -nF euc.php

                                                                            $ echo 2|php -nF euc.php

                                                                            $ echo 1999|php -nF euc.php


                                                                            Try it online!



                                                                            Or 73 bytes with 1 or 0 response



                                                                            while($y<3)$r|=$argn%($u='235'[$y])!=($b=$argn%'357'[$y++])&$b<$u;echo$r;



                                                                            $ echo 2019|php -nF euc.php
                                                                            1
                                                                            $ echo 1999|php -nF euc.php
                                                                            0


                                                                            Try it online (all test cases)!



                                                                            Original answer, 133 127 bytes



                                                                            function($n)while(++$k<210)if(($r=function($n)foreach([2,3,5,7]as$d)$o[]=$n%$d;sort($o);return$o;)($n+$k)==$r($n))return 1;


                                                                            Try it online!






                                                                            share|improve this answer











                                                                            $endgroup$

















                                                                              1












                                                                              $begingroup$


                                                                              PHP, 81 78 72 bytes





                                                                              while($y<3)if($argn%($u='235'[$y])!=($b=$argn%'357'[$y++])&$b<$u)die(T);


                                                                              A riff on @Robin Ryder's answer. Input is via STDIN, output is 'T' if truthy, and empty '' if falsy.



                                                                              $ echo 3|php -nF euc.php
                                                                              T
                                                                              $ echo 5|php -nF euc.php
                                                                              T
                                                                              $ echo 2019|php -nF euc.php
                                                                              T
                                                                              $ echo 0|php -nF euc.php

                                                                              $ echo 2|php -nF euc.php

                                                                              $ echo 1999|php -nF euc.php


                                                                              Try it online!



                                                                              Or 73 bytes with 1 or 0 response



                                                                              while($y<3)$r|=$argn%($u='235'[$y])!=($b=$argn%'357'[$y++])&$b<$u;echo$r;



                                                                              $ echo 2019|php -nF euc.php
                                                                              1
                                                                              $ echo 1999|php -nF euc.php
                                                                              0


                                                                              Try it online (all test cases)!



                                                                              Original answer, 133 127 bytes



                                                                              function($n)while(++$k<210)if(($r=function($n)foreach([2,3,5,7]as$d)$o[]=$n%$d;sort($o);return$o;)($n+$k)==$r($n))return 1;


                                                                              Try it online!






                                                                              share|improve this answer











                                                                              $endgroup$















                                                                                1












                                                                                1








                                                                                1





                                                                                $begingroup$


                                                                                PHP, 81 78 72 bytes





                                                                                while($y<3)if($argn%($u='235'[$y])!=($b=$argn%'357'[$y++])&$b<$u)die(T);


                                                                                A riff on @Robin Ryder's answer. Input is via STDIN, output is 'T' if truthy, and empty '' if falsy.



                                                                                $ echo 3|php -nF euc.php
                                                                                T
                                                                                $ echo 5|php -nF euc.php
                                                                                T
                                                                                $ echo 2019|php -nF euc.php
                                                                                T
                                                                                $ echo 0|php -nF euc.php

                                                                                $ echo 2|php -nF euc.php

                                                                                $ echo 1999|php -nF euc.php


                                                                                Try it online!



                                                                                Or 73 bytes with 1 or 0 response



                                                                                while($y<3)$r|=$argn%($u='235'[$y])!=($b=$argn%'357'[$y++])&$b<$u;echo$r;



                                                                                $ echo 2019|php -nF euc.php
                                                                                1
                                                                                $ echo 1999|php -nF euc.php
                                                                                0


                                                                                Try it online (all test cases)!



                                                                                Original answer, 133 127 bytes



                                                                                function($n)while(++$k<210)if(($r=function($n)foreach([2,3,5,7]as$d)$o[]=$n%$d;sort($o);return$o;)($n+$k)==$r($n))return 1;


                                                                                Try it online!






                                                                                share|improve this answer











                                                                                $endgroup$




                                                                                PHP, 81 78 72 bytes





                                                                                while($y<3)if($argn%($u='235'[$y])!=($b=$argn%'357'[$y++])&$b<$u)die(T);


                                                                                A riff on @Robin Ryder's answer. Input is via STDIN, output is 'T' if truthy, and empty '' if falsy.



                                                                                $ echo 3|php -nF euc.php
                                                                                T
                                                                                $ echo 5|php -nF euc.php
                                                                                T
                                                                                $ echo 2019|php -nF euc.php
                                                                                T
                                                                                $ echo 0|php -nF euc.php

                                                                                $ echo 2|php -nF euc.php

                                                                                $ echo 1999|php -nF euc.php


                                                                                Try it online!



                                                                                Or 73 bytes with 1 or 0 response



                                                                                while($y<3)$r|=$argn%($u='235'[$y])!=($b=$argn%'357'[$y++])&$b<$u;echo$r;



                                                                                $ echo 2019|php -nF euc.php
                                                                                1
                                                                                $ echo 1999|php -nF euc.php
                                                                                0


                                                                                Try it online (all test cases)!



                                                                                Original answer, 133 127 bytes



                                                                                function($n)while(++$k<210)if(($r=function($n)foreach([2,3,5,7]as$d)$o[]=$n%$d;sort($o);return$o;)($n+$k)==$r($n))return 1;


                                                                                Try it online!







                                                                                share|improve this answer














                                                                                share|improve this answer



                                                                                share|improve this answer








                                                                                edited 3 hours ago

























                                                                                answered 7 hours ago









                                                                                gwaughgwaugh

                                                                                1,998517




                                                                                1,998517





















                                                                                    0












                                                                                    $begingroup$


                                                                                    Python 3, 69 bytes





                                                                                    lambda x:int('4LR2991ODO5GS2974QWH22YTLL3E3I6TDADQG87I0',36)&1<<x%210


                                                                                    Try it online!



                                                                                    Hardcoded






                                                                                    share|improve this answer









                                                                                    $endgroup$

















                                                                                      0












                                                                                      $begingroup$


                                                                                      Python 3, 69 bytes





                                                                                      lambda x:int('4LR2991ODO5GS2974QWH22YTLL3E3I6TDADQG87I0',36)&1<<x%210


                                                                                      Try it online!



                                                                                      Hardcoded






                                                                                      share|improve this answer









                                                                                      $endgroup$















                                                                                        0












                                                                                        0








                                                                                        0





                                                                                        $begingroup$


                                                                                        Python 3, 69 bytes





                                                                                        lambda x:int('4LR2991ODO5GS2974QWH22YTLL3E3I6TDADQG87I0',36)&1<<x%210


                                                                                        Try it online!



                                                                                        Hardcoded






                                                                                        share|improve this answer









                                                                                        $endgroup$




                                                                                        Python 3, 69 bytes





                                                                                        lambda x:int('4LR2991ODO5GS2974QWH22YTLL3E3I6TDADQG87I0',36)&1<<x%210


                                                                                        Try it online!



                                                                                        Hardcoded







                                                                                        share|improve this answer












                                                                                        share|improve this answer



                                                                                        share|improve this answer










                                                                                        answered 58 mins ago









                                                                                        attinatattinat

                                                                                        4597




                                                                                        4597



























                                                                                            draft saved

                                                                                            draft discarded
















































                                                                                            If this is an answer to a challenge…



                                                                                            • …Be sure to follow the challenge specification. However, please refrain from exploiting obvious loopholes. Answers abusing any of the standard loopholes are considered invalid. If you think a specification is unclear or underspecified, comment on the question instead.


                                                                                            • …Try to optimize your score. For instance, answers to code-golf challenges should attempt to be as short as possible. You can always include a readable version of the code in addition to the competitive one.
                                                                                              Explanations of your answer make it more interesting to read and are very much encouraged.


                                                                                            • …Include a short header which indicates the language(s) of your code and its score, as defined by the challenge.


                                                                                            More generally…



                                                                                            • …Please make sure to answer the question and provide sufficient detail.


                                                                                            • …Avoid asking for help, clarification or responding to other answers (use comments instead).




                                                                                            draft saved


                                                                                            draft discarded














                                                                                            StackExchange.ready(
                                                                                            function ()
                                                                                            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcodegolf.stackexchange.com%2fquestions%2f182669%2fdo-i-have-a-twin-with-permutated-remainders%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

                                                                                            Best approach to update all entries in a list that is paginated?Best way to add items to a paginated listChoose Your Country: Best Usability approachUpdate list when a user is viewing the list without annoying themWhen would the best day to update your webpage be?What should happen when I add a Row to a paginated, sorted listShould I adopt infinite scrolling or classical pagination?How to show user that page objects automatically updateWhat is the best location to locate the comments section in a list pageBest way to combine filtering and selecting items in a listWhen one of two inputs must be updated to satisfy a consistency criteria, which should you update (if at all)?

                                                                                            Вунгтау (аеропорт) Загальні відомості | Див. також | Посилання | Навігаційне меню10°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.0833310°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.083337731608Vinh AirportVinh airport facelift improves serviceвиправивши або дописавши їївиправивши або дописавши їїр

                                                                                            Тонконіг бульбистий Зміст Опис | Поширення | Екологія | Господарське значення | Примітки | Див. також | Література | Джерела | Посилання | Навігаційне меню1114601320038-241116202404kew-435458Poa bulbosaЭлектронный каталог сосудистых растений Азиатской России [Електронний каталог судинних рослин Азіатської Росії]Малышев Л. Л. Дикие родичи культурных растений. Poa bulbosa L. - Мятлик луковичный. [Малишев Л. Л. Дикі родичи культурних рослин. Poa bulbosa L. - Тонконіг бульбистий.]Мятлик (POA) Сем. Злаки (Мятликовые) [Тонконіг (POA) Род. Злаки (Тонконогові)]Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Description from Flora of China) [Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Опис від Флора Китаю)]Poa bulbosa L. – lipnice cibulkatá / lipnica cibulkatáPoa bulbosa в базі даних Poa bulbosa на сайті Poa bulbosa в базі даних «Global Biodiversity Information Facility» (GBIF)Poa bulbosa в базі даних «Euro + Med PlantBase» — інформаційному ресурсі для Євро-середземноморського розмаїття рослинPoa bulbosa L. на сайті «Плантариум»