# Floor function within a congruence

In essence, the floor function is causing problems. Is there any way to get the inner linear expression, outside of the floor function?

$\lfloor(a_1x_1+...+a_nx_n)/d\rfloor \equiv b\pmod m$, for $a_i,b,d,m \in \Bbb Z$ and unknown $x_j\in\Bbb Z$.

Ideally into form $a'_1x_1+...+a'_nx_n \equiv b'\pmod {m'}$

I've been tinkering with fractional parts but keep getting stuck on what to do with the $\mod 1$ term since this is all within a congruence.

-
What is $expr$? Is it $exp(r) = e^r$? Being as concrete as possible will likely lead to the best answer in this case. –  JavaMan Jan 22 '13 at 5:58
No it's actually a linear expression, i.e. $a_1x_1+...+a_kx_k$ where $a_i$ are constants, not necessarily integers, and $x_j$ are variable integers. –  Joe Jan 22 '13 at 6:27
Are the constants $a_i$ at least rational numbers, or can they be irrational? If they're irrational then this is probably hopeless. –  Greg Martin Jan 22 '13 at 7:14
Yes, the constants $a_i$ are rational. Actually, they're integers with a single division. I just restated the problem to make this more clear. –  Joe Jan 22 '13 at 15:33
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.43958449363708496, "perplexity": 492.43537436732396}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2014-42/segments/1413507449615.41/warc/CC-MAIN-20141017005729-00345-ip-10-16-133-185.ec2.internal.warc.gz"}