[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]
4chanarchives logo

maths


Thread replies: 16
Thread images: 1

File: maths_1.jpg (475KB, 1920x1280px) Image search: [Google] [Yandex] [Bing]
maths_1.jpg
475KB, 1920x1280px
Is there any function that can check if a nummber is even or not. By that i mean an algebraic function not a computer functions, that means for example modulus can't be used.
>>
i know my english is bad
>>
>>8083530
sin^2(pi*x)
>>
>>8083530
[math]\frac{1+(-1)^n}{2}[/math]
>>
>>8083533
Yes.

if x |-> f(x):=1, if a natural number n exists so that x=2n, 0 else.
>>
>>8083530
Sure, [math]n[/math] is an even integer if and only if [math]\zeta(-n) = 0[/math]. Here [math]\zeta[/math] refers to the

https://en.wikipedia.org/wiki/Riemann_zeta_function

Is this what you're looking for?
>>
>>8083549
obviously I meant "positive even integer"
>>
>>8083530
f(x) = x/2, where f(x) is an integer
>>
>>8083530
Isn't it just (1 + n)/2 or something?
>>
>>8083530
>modulus
>not an algebraic function
>>
In what kind of world, this function
>>8083549
is algebraic and taking the mod 2 isn't?
>>
>>8083530
(-1)^n is 1 if n is even and -1 if it is odd. Don't know if that's what you mean by algebeaic though.
>>
>>8083530
the function [math]f(n)=n[/math] is even when [math]n[/math] is even and odd when [math]n[/math] is odd
>>
>>8084011
>the function f(n)=n is even when n is even
A function being even or odd doesn't depend on any single input. Your function is an odd function
>>
>>8083530
f(x) = sin(pi*x/2)
f(x) = 0 iff x is even
>>
If n is an even integer, n/2 gives k such that k belongs to Z. So when the output of f(n) = n/2 is in Z, n is even.
Thread replies: 16
Thread images: 1
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK