My Computer Forum Computer Science Forum

Go Back   My Computer Forum > Computer Science Forum > Algorithms

Algorithms Algorithms and Data Structures - Analysis, Graph, Search, String, Sorting, Merge, Compression, Optimization, Quantum

LinkBack Thread Tools Display Modes
March 13th, 2012, 10:48 PM   #1
Joined: Mar 2012
Posts: 1
Problem with Address Generation Algorithm


I am trying to to figure out how to generate all the possible numbers
from 0 to 4 294 967 296 using the following conditions:

I can use only two numbers as operands, both of which can range from 0 to 255, but

I can use 256 different mathematical formulas to combine the two numbers.

In example, formula with index no. 1 would tell the program to multiply the two numbers together,
getting through the first 65 536 possible combinations.
Then formula with index no. 2 would tell the first number to multiply by itself and then multiply by the second number.
And so on...

Can you please help me to determine how many and what kind of formula combinations do i have to use
to combine the two numbers to achieve any number from 0 to 4 294 967 296?
rahvasaadik is offline  

My Computer Forum is free to register and we welcome everyone!


  My Computer Forum > Computer Science Forum > Algorithms

address, algorithm, generation, problem

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Algorithm of information display demakvik Algorithms 1 February 26th, 2014 07:13 AM
Round Robin Voting Algorithm Joshj Algorithms 0 April 13th, 2013 04:06 AM
Quick! Hardest algorithm you've learned! CRGreathouse Algorithms 8 April 16th, 2012 02:47 PM
Algorithm tutorial website ailan Algorithms 1 November 25th, 2011 12:40 PM
Dijkstra's algorithm milin Algorithms 1 November 1st, 2008 04:51 PM

Copyright © 2018 My Computer Forum Forum. All rights reserved.