Math Help Question

ststern45

Well-known Member
Joined
Sep 17, 2005
Messages
974
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
I purchased a software program and trying to figure out the calculations from a range of numbers.

The numbers are the following: 14 16 24 29 30
The answer is 9 according to the program calculation
The explanation is the following:
"The amount of multipliers which are equal to 2 in the range of cells"
In addition the help file: amount of factor 2 - The quantity of the factor = 2 of the numbers in the range

Example 2:
The numbers are the following: 4 5 9 20 28
The answer is 6 according to the program calculation

Example 3:
The numbers are the following: 8 16 18 19 22
The answer is 9 according the the program calculation

Example 4:
The numbers are the following: 8 12 16 17 26
The answer is 10 according the the program calculation

I'm trying figure out how the calculations correspond to the explanation from the help file and the given numbers.

Kudos to those who can figure this out.

Thanks in advance!!

Are the Factors of 2? = 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30
 
Thanks everyone for all your math expertise. Very much appreciate your time and knowledge.
 
Upvote 0

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
I designed an Excel formula to do this, but it took 2 helper columns. It's proving tricky to do it in a single cell.

Book1
ABCDE
114219
216164
32483
42910
53021
Sheet6
Cell Formulas
RangeFormula
C1:C5C1=GCD(A1,2^10)
D1:D5D1=LN(C1)/LN(2)
E1E1=SUM(D1:D5)
 
Upvote 0
Well, If you are gonna play, don't drop the ball on the 20 yard line. :)

Book2
ABCDEFGH
1Start valueMultipleBase #ExponentSum of Exponents
214=7*2^19
316=1*2^4
424=3*2^3
529=29*2^0
630=15*2^1
Sheet1
Cell Formulas
RangeFormula
H2H2=SUM(G2:G6)
C2:C6C2=A2/(E2^G2)
G2:G6G2=LN(GCD(A2,2^10))/LN(2)


Since we are playing, why not make a cheat sheet:

Book2
ABCDEFG
1Start valueMultipleBase #Exponent
21=1*2^0
32=1*2^1
43=3*2^0
54=1*2^2
65=5*2^0
76=3*2^1
87=7*2^0
98=1*2^3
109=9*2^0
1110=5*2^1
1211=11*2^0
1312=3*2^2
1413=13*2^0
1514=7*2^1
1615=15*2^0
1716=1*2^4
1817=17*2^0
1918=9*2^1
2019=19*2^0
2120=5*2^2
2221=21*2^0
2322=11*2^1
2423=23*2^0
2524=3*2^3
2625=25*2^0
2726=13*2^1
2827=27*2^0
2928=7*2^2
3029=29*2^0
3130=15*2^1
3231=31*2^0
3332=1*2^5
3433=33*2^0
3534=17*2^1
3635=35*2^0
3736=9*2^2
3837=37*2^0
3938=19*2^1
4039=39*2^0
4140=5*2^3
4241=41*2^0
4342=21*2^1
4443=43*2^0
4544=11*2^2
4645=45*2^0
4746=23*2^1
4847=47*2^0
4948=3*2^4
5049=49*2^0
5150=25*2^1
5251=51*2^0
5352=13*2^2
5453=53*2^0
5554=27*2^1
5655=55*2^0
5756=7*2^3
5857=57*2^0
5958=29*2^1
6059=59*2^0
6160=15*2^2
6261=61*2^0
6362=31*2^1
6463=63*2^0
6564=1*2^6
6665=65*2^0
6766=33*2^1
6867=67*2^0
6968=17*2^2
7069=69*2^0
7170=35*2^1
7271=71*2^0
7372=9*2^3
7473=73*2^0
7574=37*2^1
7675=75*2^0
7776=19*2^2
7877=77*2^0
7978=39*2^1
8079=79*2^0
8180=5*2^4
8281=81*2^0
8382=41*2^1
8483=83*2^0
8584=21*2^2
8685=85*2^0
8786=43*2^1
8887=87*2^0
8988=11*2^3
9089=89*2^0
9190=45*2^1
9291=91*2^0
9392=23*2^2
9493=93*2^0
9594=47*2^1
9695=95*2^0
9796=3*2^5
9897=97*2^0
9998=49*2^1
10099=99*2^0
101100=25*2^2
Sheet1
Cell Formulas
RangeFormula
A3:A101A3= A2 + 1
C2:C101C2=A2/(E2^G2)
G2:G101G2=LN(GCD(A2,2^10))/LN(2)
 
Last edited:
Upvote 0
Thanks Eric and JohnnyL. Appreciate the time and effort coming up with the solutions. Very impressive!!
 
Upvote 0
Single cell formula for numbers less than 2^21 or 2,097,152:

Book3
ABC
1149
216
324
429
530
Sheet2
Cell Formulas
RangeFormula
C1C1=SUM(--(A1:A5/2^TRANSPOSE(ROW($1:$20))=INT(A1:A5/2^TRANSPOSE(ROW($1:$20)))))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,391
Messages
6,171,824
Members
452,426
Latest member
cmachael

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top