Help me figure out this sequence
August 16, 2009 4:55 AM Subscribe
Ive been tearing my hair out trying to work out a mathematical formula for a sequence of numbers I have. Have a look inside and tell me if you see a pattern.
Im trying to reverse engineer a little section of a computer program, I enter the numbers below and get the result out. I have just written out a sample of different numbers I have entered in. I cannot work out what it is doing, there is obviously some rounding in there which is throwing me off..
0.01->2
0.02->3
0.03->3
0.04->3
0.05->4
0.06->4
0.07->4
0.08->4
0.09->4
0.10->5
0.1->5
0.2->6
0.3->7
0.4->7
0.5->8
0.6->8
0.7->9
0.8->9
0.9->10
1.0->10
1.1->10
1.2->11
1.3->11
1.4->11
1.5->11
1.6->12
1.7->12
1.8->12
1.9->12
2.0->12
3.0->14
4.0->16
10.0->22
100.0->46
1000.00->100
Anyone have any idea?
posted by phyle to science & nature (18 answers total) 1 user marked this as a favorite
posted by effbot at 5:22 AM on August 16, 2009 [1 favorite]