How many numbers (positive integers) smaller than $n$ can be written as a sum of two or more consecutive power of 2 integers? [on hold]In how many ways can a number be expressed as a sum of consecutive numbers?How Many Natural Numbers Can Get Expressed as the Sum of Consecutive Natural Numbers in only One Way?If the difference of cubes of two consecutive integers is a square, then the square can be written as the sum of squares of two different integers.Total possible ways of representing n! as a sum of two or more consecutive positive integers.Determine all ways the integer $2015$ can be written as a sum of consecutive positive integers.Largest number of consecutive positive integers whose sum is exactly $2014$.writing numbers as sum of at least two consecutive odd positive integersSum of 3 Positive consecutive integersNumber of ways in which $1000$ can be written as a sum of two or more consecutive natural numbersWhich positive integers can NOT be written as a sum of consecutive positive integers

Humans have energy, but not water. What happens?

Force user to remove USB token

Confusion with the nameplate of an induction motor

Good allowance savings plan?

Counter-example to the existence of left Bousfield localization of combinatorial model category

What does it mean when multiple 々 marks follow a 、?

What is the dot in “1.2.4."

How is the Swiss post e-voting system supposed to work, and how was it wrong?

Silly Sally's Movie

Why must traveling waves have the same amplitude to form a standing wave?

When is a batch class instantiated when you schedule it?

Is a lawful good "antagonist" effective?

Do I need to leave some extra space available on the disk which my database log files reside, for log backup operations to successfully occur?

Examples of odd-dimensional manifolds that do not admit contact structure

Touchscreen-controlled dentist office snowman collector game

Why don't MCU characters ever seem to have language issues?

Time travel short story where dinosaur doesn't taste like chicken

Replacing Windows 7 security updates with anti-virus?

Running a subshell from the middle of the current command

Are there situations where a child is permitted to refer to their parent by their first name?

How to make readers know that my work has used a hidden constraint?

Who is our nearest neighbor

Latest web browser compatible with Windows 98

When two POV characters meet



How many numbers (positive integers) smaller than $n$ can be written as a sum of two or more consecutive power of 2 integers? [on hold]


In how many ways can a number be expressed as a sum of consecutive numbers?How Many Natural Numbers Can Get Expressed as the Sum of Consecutive Natural Numbers in only One Way?If the difference of cubes of two consecutive integers is a square, then the square can be written as the sum of squares of two different integers.Total possible ways of representing n! as a sum of two or more consecutive positive integers.Determine all ways the integer $2015$ can be written as a sum of consecutive positive integers.Largest number of consecutive positive integers whose sum is exactly $2014$.writing numbers as sum of at least two consecutive odd positive integersSum of 3 Positive consecutive integersNumber of ways in which $1000$ can be written as a sum of two or more consecutive natural numbersWhich positive integers can NOT be written as a sum of consecutive positive integers













1












$begingroup$


How many numbers (positive integers) smaller than $n$ can be written as a sum of two or more consecutive power of 2 integers?



My attempt so far: So basically we're searching how many $x$ and $y$ we have such that: $2^x+2^x+1+ldots+2^x+y leq n$, where $x,y,ninmathbbN$. By calculating the sum we arrive at:
$2^x(2^y+1-1)leq n$. And here I am stuck... Any ideas?










share|cite|improve this question









New contributor




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







$endgroup$



put on hold as off-topic by Carl Mummert, Vinyl_cape_jawa, Riccardo.Alestra, Cesareo, Parcly Taxel 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Carl Mummert, Vinyl_cape_jawa, Riccardo.Alestra, Cesareo, Parcly Taxel
If this question can be reworded to fit the rules in the help center, please edit the question.















  • $begingroup$
    This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. In particular, what is the source and background of the question?
    $endgroup$
    – Carl Mummert
    Mar 10 at 20:43















1












$begingroup$


How many numbers (positive integers) smaller than $n$ can be written as a sum of two or more consecutive power of 2 integers?



My attempt so far: So basically we're searching how many $x$ and $y$ we have such that: $2^x+2^x+1+ldots+2^x+y leq n$, where $x,y,ninmathbbN$. By calculating the sum we arrive at:
$2^x(2^y+1-1)leq n$. And here I am stuck... Any ideas?










share|cite|improve this question









New contributor




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







$endgroup$



put on hold as off-topic by Carl Mummert, Vinyl_cape_jawa, Riccardo.Alestra, Cesareo, Parcly Taxel 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Carl Mummert, Vinyl_cape_jawa, Riccardo.Alestra, Cesareo, Parcly Taxel
If this question can be reworded to fit the rules in the help center, please edit the question.















  • $begingroup$
    This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. In particular, what is the source and background of the question?
    $endgroup$
    – Carl Mummert
    Mar 10 at 20:43













1












1








1





$begingroup$


How many numbers (positive integers) smaller than $n$ can be written as a sum of two or more consecutive power of 2 integers?



My attempt so far: So basically we're searching how many $x$ and $y$ we have such that: $2^x+2^x+1+ldots+2^x+y leq n$, where $x,y,ninmathbbN$. By calculating the sum we arrive at:
$2^x(2^y+1-1)leq n$. And here I am stuck... Any ideas?










share|cite|improve this question









New contributor




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







$endgroup$




How many numbers (positive integers) smaller than $n$ can be written as a sum of two or more consecutive power of 2 integers?



My attempt so far: So basically we're searching how many $x$ and $y$ we have such that: $2^x+2^x+1+ldots+2^x+y leq n$, where $x,y,ninmathbbN$. By calculating the sum we arrive at:
$2^x(2^y+1-1)leq n$. And here I am stuck... Any ideas?







number-theory inequality






share|cite|improve this question









New contributor




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











share|cite|improve this question









New contributor




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









share|cite|improve this question




share|cite|improve this question








edited Mar 10 at 20:33







Demaned













New contributor




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









asked Mar 10 at 20:07









DemanedDemaned

63




63




New contributor




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





New contributor





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






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




put on hold as off-topic by Carl Mummert, Vinyl_cape_jawa, Riccardo.Alestra, Cesareo, Parcly Taxel 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Carl Mummert, Vinyl_cape_jawa, Riccardo.Alestra, Cesareo, Parcly Taxel
If this question can be reworded to fit the rules in the help center, please edit the question.







put on hold as off-topic by Carl Mummert, Vinyl_cape_jawa, Riccardo.Alestra, Cesareo, Parcly Taxel 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Carl Mummert, Vinyl_cape_jawa, Riccardo.Alestra, Cesareo, Parcly Taxel
If this question can be reworded to fit the rules in the help center, please edit the question.











  • $begingroup$
    This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. In particular, what is the source and background of the question?
    $endgroup$
    – Carl Mummert
    Mar 10 at 20:43
















  • $begingroup$
    This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. In particular, what is the source and background of the question?
    $endgroup$
    – Carl Mummert
    Mar 10 at 20:43















$begingroup$
This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. In particular, what is the source and background of the question?
$endgroup$
– Carl Mummert
Mar 10 at 20:43




$begingroup$
This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. In particular, what is the source and background of the question?
$endgroup$
– Carl Mummert
Mar 10 at 20:43










1 Answer
1






active

oldest

votes


















0












$begingroup$

If we only consider the case $n = 2^k$, and represent in binary the numbers matching the criteria, it seems simple enough to list them. E.g. for $n = 2^4 = 16$ we get the following four-bit numbers:



0011b = 2+1 = 3
0110b = 4+2 = 6
0111b = 4+2+1 = 7
1100b = 8+4 = 12
1110b = 8+4+2 = 14
1111b = 8+4+2+1 = 15


That is, there are three numbers with two consecutive ones, two with three ones, and one with four ones. That's $1+2+3 = 6$. The one-bits represent the terms of your sum as shown.



For $n = 32$, we have five bits and $1+2+3+4 = 10$ different numbers. Adding bits (or increasing $k$ by one; or doubling $n$) adds one possible position for each of the run lengths, so the amount of such numbers smaller than $n = 2^k$ is the triangular number $T_k-1$:



$$
T_k-1 = frac(k-1)k2
$$



The case where $n$ is not a power of two seems less simple.






share|cite|improve this answer









$endgroup$



















    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0












    $begingroup$

    If we only consider the case $n = 2^k$, and represent in binary the numbers matching the criteria, it seems simple enough to list them. E.g. for $n = 2^4 = 16$ we get the following four-bit numbers:



    0011b = 2+1 = 3
    0110b = 4+2 = 6
    0111b = 4+2+1 = 7
    1100b = 8+4 = 12
    1110b = 8+4+2 = 14
    1111b = 8+4+2+1 = 15


    That is, there are three numbers with two consecutive ones, two with three ones, and one with four ones. That's $1+2+3 = 6$. The one-bits represent the terms of your sum as shown.



    For $n = 32$, we have five bits and $1+2+3+4 = 10$ different numbers. Adding bits (or increasing $k$ by one; or doubling $n$) adds one possible position for each of the run lengths, so the amount of such numbers smaller than $n = 2^k$ is the triangular number $T_k-1$:



    $$
    T_k-1 = frac(k-1)k2
    $$



    The case where $n$ is not a power of two seems less simple.






    share|cite|improve this answer









    $endgroup$

















      0












      $begingroup$

      If we only consider the case $n = 2^k$, and represent in binary the numbers matching the criteria, it seems simple enough to list them. E.g. for $n = 2^4 = 16$ we get the following four-bit numbers:



      0011b = 2+1 = 3
      0110b = 4+2 = 6
      0111b = 4+2+1 = 7
      1100b = 8+4 = 12
      1110b = 8+4+2 = 14
      1111b = 8+4+2+1 = 15


      That is, there are three numbers with two consecutive ones, two with three ones, and one with four ones. That's $1+2+3 = 6$. The one-bits represent the terms of your sum as shown.



      For $n = 32$, we have five bits and $1+2+3+4 = 10$ different numbers. Adding bits (or increasing $k$ by one; or doubling $n$) adds one possible position for each of the run lengths, so the amount of such numbers smaller than $n = 2^k$ is the triangular number $T_k-1$:



      $$
      T_k-1 = frac(k-1)k2
      $$



      The case where $n$ is not a power of two seems less simple.






      share|cite|improve this answer









      $endgroup$















        0












        0








        0





        $begingroup$

        If we only consider the case $n = 2^k$, and represent in binary the numbers matching the criteria, it seems simple enough to list them. E.g. for $n = 2^4 = 16$ we get the following four-bit numbers:



        0011b = 2+1 = 3
        0110b = 4+2 = 6
        0111b = 4+2+1 = 7
        1100b = 8+4 = 12
        1110b = 8+4+2 = 14
        1111b = 8+4+2+1 = 15


        That is, there are three numbers with two consecutive ones, two with three ones, and one with four ones. That's $1+2+3 = 6$. The one-bits represent the terms of your sum as shown.



        For $n = 32$, we have five bits and $1+2+3+4 = 10$ different numbers. Adding bits (or increasing $k$ by one; or doubling $n$) adds one possible position for each of the run lengths, so the amount of such numbers smaller than $n = 2^k$ is the triangular number $T_k-1$:



        $$
        T_k-1 = frac(k-1)k2
        $$



        The case where $n$ is not a power of two seems less simple.






        share|cite|improve this answer









        $endgroup$



        If we only consider the case $n = 2^k$, and represent in binary the numbers matching the criteria, it seems simple enough to list them. E.g. for $n = 2^4 = 16$ we get the following four-bit numbers:



        0011b = 2+1 = 3
        0110b = 4+2 = 6
        0111b = 4+2+1 = 7
        1100b = 8+4 = 12
        1110b = 8+4+2 = 14
        1111b = 8+4+2+1 = 15


        That is, there are three numbers with two consecutive ones, two with three ones, and one with four ones. That's $1+2+3 = 6$. The one-bits represent the terms of your sum as shown.



        For $n = 32$, we have five bits and $1+2+3+4 = 10$ different numbers. Adding bits (or increasing $k$ by one; or doubling $n$) adds one possible position for each of the run lengths, so the amount of such numbers smaller than $n = 2^k$ is the triangular number $T_k-1$:



        $$
        T_k-1 = frac(k-1)k2
        $$



        The case where $n$ is not a power of two seems less simple.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Mar 10 at 21:18









        ilkkachuilkkachu

        542310




        542310













            Popular posts from this blog

            Solar Wings Breeze Design and development Specifications (Breeze) References Navigation menu1368-485X"Hang glider: Breeze (Solar Wings)"e

            Kathakali Contents Etymology and nomenclature History Repertoire Songs and musical instruments Traditional plays Styles: Sampradayam Training centers and awards Relationship to other dance forms See also Notes References External links Navigation menueThe Illustrated Encyclopedia of Hinduism: A-MSouth Asian Folklore: An EncyclopediaRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to Play10.1353/atj.2005.0004The Illustrated Encyclopedia of Hinduism: A-MEncyclopedia of HinduismKathakali Dance-drama: Where Gods and Demons Come to PlaySonic Liturgy: Ritual and Music in Hindu Tradition"The Mirror of Gesture"Kathakali Dance-drama: Where Gods and Demons Come to Play"Kathakali"Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceMedieval Indian Literature: An AnthologyThe Oxford Companion to Indian TheatreSouth Asian Folklore: An Encyclopedia : Afghanistan, Bangladesh, India, Nepal, Pakistan, Sri LankaThe Rise of Performance Studies: Rethinking Richard Schechner's Broad SpectrumIndian Theatre: Traditions of PerformanceModern Asian Theatre and Performance 1900-2000Critical Theory and PerformanceBetween Theater and AnthropologyKathakali603847011Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceBetween Theater and AnthropologyBetween Theater and AnthropologyNambeesan Smaraka AwardsArchivedThe Cambridge Guide to TheatreRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeThe Garland Encyclopedia of World Music: South Asia : the Indian subcontinentThe Ethos of Noh: Actors and Their Art10.2307/1145740By Means of Performance: Intercultural Studies of Theatre and Ritual10.1017/s204912550000100xReconceiving the Renaissance: A Critical ReaderPerformance TheoryListening to Theatre: The Aural Dimension of Beijing Opera10.2307/1146013Kathakali: The Art of the Non-WorldlyOn KathakaliKathakali, the dance theatreThe Kathakali Complex: Performance & StructureKathakali Dance-Drama: Where Gods and Demons Come to Play10.1093/obo/9780195399318-0071Drama and Ritual of Early Hinduism"In the Shadow of Hollywood Orientalism: Authentic East Indian Dancing"10.1080/08949460490274013Sanskrit Play Production in Ancient IndiaIndian Music: History and StructureBharata, the Nāṭyaśāstra233639306Table of Contents2238067286469807Dance In Indian Painting10.2307/32047833204783Kathakali Dance-Theatre: A Visual Narrative of Sacred Indian MimeIndian Classical Dance: The Renaissance and BeyondKathakali: an indigenous art-form of Keralaeee

            Method to test if a number is a perfect power? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Detecting perfect squares faster than by extracting square rooteffective way to get the integer sequence A181392 from oeisA rarely mentioned fact about perfect powersHow many numbers such $n$ are there that $n<100,lfloorsqrtn rfloor mid n$Check perfect squareness by modulo division against multiple basesFor what pair of integers $(a,b)$ is $3^a + 7^b$ a perfect square.Do there exist any positive integers $n$ such that $lfloore^nrfloor$ is a perfect power? What is the probability that one exists?finding perfect power factors of an integerProve that the sequence contains a perfect square for any natural number $m $ in the domain of $f$ .Counting Perfect Powers