Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 2644

For question borderline with, or having application to, computer science. Consider also posting http://cs.stackexchange.com/ or http://cstheory.stackexchange.com/ instead of here, if appropriate.

1 vote
4 answers
2k views

What is the name of the function f(x,y) = ((x-1) mod y)+1 ?

Does the function $f(x,y) = ((x-1) \mod y)+1$ have an existing name? f(1,5) = 1 f(2,5) = 2 f(3,5) = 3 f(4,5) = 4 f(5,5) = 5 f(6,5) = 1 f(7,5) = 2
Niall Murphy's user avatar
4 votes
1 answer
274 views

Is every input gate of a Boolean Circuit (to decide a language) on a path to the output gate?

In complexity theory, when a uniform family of circuits recognises a language is it the case that each of the input gates is on a path to the output gate? That is, there are no input gates with wires …
Niall Murphy's user avatar
0 votes

Emptiness and determinization of NFAs

To determine if an NFA $M$ accepts all strings you can first construct the machine that accepts the complement language $\overline{M}$ (here is the exponential bottleneck since you must first convert …
Niall Murphy's user avatar
5 votes
Accepted

Are there any pairing functions computable in constant time (AC⁰)

Interleaving the binary encodings of the two numbers a and b seems to be the best solution: For example the encoding of a = 20d = 10100b b = 5d = 101b We interleave the bits starting with the least …
Niall Murphy's user avatar
4 votes
2 answers
2k views

Are there any pairing functions computable in constant time (AC⁰)

Are there any known reversible pairing functions $f: \mathbb N \times \mathbb N \to \mathbb N$ that can be computed in constant time (FAC⁰)?
Niall Murphy's user avatar