posts - 2, comments - 0, trackbacks - 0, articles - 0

2006年7月19日

1.2) Lines in the plane.
    What is the maximum number L, of regions defined by n lines in the plane?
    L0 = 1
    Ln = Ln-1 + n (n>0)
=>>   Ln = n(n+1)/2 +1

Suppose that instead of straight lines we use bent lines, each containing one “zig!", such as "<"
    Zn = L2n - 2n = 2n(2n+1)/2+1-2n = 2n^2-n+1 (n>=0)

1.3) THE JOSEPHUS PROBLEM
    In our variation, we start with n people numbered 1 to n around a circle,and we eliminate every second remaining person until only one survives.
    J(1) = 1 ;
    J(2n) = 2J(n) - 1 , for n > 1;
    J(2n + 1) = 2J(n) + 1
==>>J(2^m+l) = 2*l+1;

for binary number
    J(ABCDEF) = 2*BCDEFA + 1 (A,B,C,D,E,F = 0,1)
    J(1...1...) = 1...1...   (A = 1)

习题有一个是汉诺塔的题目,说是A C B中不允许A和B之间交换,即只能to or from C。
这里得到一个简单的递归就是A(n) = 3A(n-1)+2 (n >= 1),理由是把n-1个塔从A经由C移到B,再把最底下的第n块从A移动C,再把n-1块从B经由C移到A,再把C中的第n块从C移到B,最后把A的n-1块从A移到B。

posted @ 2006-07-19 01:33 jimmyljb 阅读(231) | 评论 (0)编辑 收藏

2006年7月18日

Top 100 listed numerically
  1. Intel Core Duo Notebook/Desktop CPU
  2. AMD Athlon 64 X2 Dual-Core Desktop CPU
  3. Craigslist.org Web Classifieds
  4. Apple iPod Nano Digital Audio Player
  5. Seagate 160GB Portable Hard Drive Portable Hard Drive
  6. Google Earth Satellite Imagery
  7. Adobe Premiere Elements 2 Video Editor
  8. Canon EOS 30D Digital SLR Camera
  9. YouTube.com Video-Sharing Site
  10. Apple Boot Camp Mac Dual-Booter
  11. Adobe Photoshop Elements 4 Image Editor
  12. Mozilla Firefox 1.5 Web Browser
  13. Engadget.com Gadget Blog
  14. Toshiba HD-A1 HD DVD Player
  15. Toshiba Qosmio G35-AV600 Power Notebook Computer
  16. nVidia GeForce 7600 GT Graphics Card Chip Set
  17. Google Search Engine
  18. Sonos ZonePlayer 80 Digital Audio Streamer
  19. RedOctane Guitar Hero Video Game
  20. Yamaha RX-V4600 Home-Theater Receiver
  21. Pioneer BDR-101A Blu-ray Drive
  22. Adobe Photoshop CS2 Image Editor
  23. Citrix GoToMyPC 5 Remote Access
  24. Dealnews.com Online Bargain Tracker
  25. Palm GPS Navigator GPS
  26. MioNet Remote Access
  27. Ubuntu Linux Distribution
  28. Mozilla Thunderbird 1.5 E-Mail Application
  29. Canon Pixma MP950 Multifunction Printer
  30. Yahoo Mail (Beta) Web-Based E-Mail
  31. TiVo Digital Video Recorder
  32. Avvenu Remote File Access
  33. Blogger Blogging Service
  34. Sony Cyber-shot DSC-R1 Advanced Digital Camera
  35. Apple Mac Mini Value Desktop Computer
  36. Apple iPod Digital Audio/Video Player
  37. Lenovo ThinkPad X60s Ultralight Notebook
  38. SideStep.com Travel Site
  39. Windows Live Local Online Mapping
  40. Creative Sound Blaster X-Fi Sound Card
  41. Alienware Aurora 7500 Power Desktop Computer
  42. NEC MultiSync LCD 2180WG-LED Flat-Panel Monitor
  43. Apple iTunes Digital Audio Software
  44. Olympus Evolt E-330 Digital SLR Camera
  45. Ultimate Ears Super.fi 5 Pro Earphones
  46. Creative Zen Vision:M Digital Audio/Video Player
  47. Google Desktop Desktop Search
  48. Opera 9 (Beta) Browser
  49. Mitsubishi XD460U Projector
  50. Vonage VoIP Service
  51. StumbleUpon Browser Add-On
  52. NoScript 1.1.4 Browser Add-On
  53. Webroot Spy Sweeper 4.5 Antispyware
  54. Microsoft Natural Ergonomic Keyboard 4000 Keyboard
  55. Western Digital Raptor X Hard Drive
  56. Yahoo Maps (Beta) Online Mapping
  57. Intuit Quicken Premier 2006 Personal Finance
  58. ATI Radeon X1900 XTX Graphics Board
  59. Javacool EULAlyzer Personal 1.1 License Analyzer
  60. Eizo FlexScan S2410W 24-Inch Wide-Screen LCD Monitor
  61. Kosmix.com Search Engine
  62. T-Mobile SDA Cellular Phone
  63. Asus A8N32-SLI Deluxe Motherboard
  64. Dell UltraSharp 3007WFP 30-Inch Wide-Screen LCD Monitor
  65. Meebo (alpha) Instant Messaging
  66. Corel Painter IX.5 Graphics Software
  67. Samsung LN-S3251D LCD TV
  68. Cerulean Studios Trillian 3.1 Instant Messaging Client
  69. Rhapsody Online Music
  70. In2M Mvelopes Personal 3 Online Budgeting
  71. Canon Pixma IP6600D Photo Printer
  72. EMC Retrospect Professional 7.5 Backup Software
  73. Yahoo Music Engine 1.1 Digital Audio Site/Software
  74. Network Magic Home Networking
  75. Z-Wave Home Automation
  76. BitDefender 9 Standard Antivirus
  77. Sage Software Simply Accounting Basic 13 Small-Business Finance
  78. Flickr Photo-Sharing Site
  79. Nero 7 Ultra Edition CD/DVD Burning
  80. Nuance Dragon NaturallySpeaking 8 Voice Recognition
  81. Kodak EasyShare Gallery Photo Printing Service
  82. EvDO Wireless Broadband
  83. LaCie d2 Hard Drive Serial ATA External Hard Drive
  84. HP Md5880n DLP TV
  85. Qnext 2 P-to-P Communications
  86. Salling Clicker 3 Presentation Remote
  87. Epson Perfection V700 Photo Scanner
  88. Mindjet MindManager Pro 6 Data-Organizing Software
  89. Microsoft Xbox 360 Game Console
  90. iRiver Clix Digital Audio/Video Player
  91. Fujifilm FinePix E900 Point-and-Shoot Digital Camera
  92. nVidia GeForce 7900 GTX GPU
  93. Del.icio.us Social Networking
  94. Serious Magic Ovation PowerPoint Add-On
  95. WordPress Blogging Tool
  96. Amazon A9 Toolbar Search Toolbar
  97. ThinkFree Office Online Online Office Suite
  98. Greasemonkey Firefox Extension
  99. NewsGator FeedDemon 2 RSS Reader
  100. Sysinternals Rootkit Revealer 1.7 Antispyware
The 100 Best Products of the Year

posted @ 2006-07-18 15:05 jimmyljb 阅读(275) | 评论 (0)编辑 收藏