base-n series generator for a given number in java,,
Posted
by Senthil
on Stack Overflow
See other posts from Stack Overflow
or by Senthil
Published on 2010-05-18T14:16:48Z
Indexed on
2010/05/18
14:20 UTC
Read the original article
Hit count: 256
java
I want to create a program for generating the series for the given base-n. , for example if my input is 2,then series shuould be, 00,01,10,11,etc.,(binary) if my input is 10,then series shuould be,1,2,3,4,5,etc.,(decimal)
is there any general mechanism to find these numbers so that I can program for base-n.,
© Stack Overflow or respective owner