Okay, there's something I'm confused about. To do P+Q, you find the third intersection point, R, of the line through P and Q with the curve. But their sum is not on the line, but rather, it's on the other half of the curve (mirrored over the x-axis). I get why, it's because P+Q+R = 0, because a line through those three points on the curve doesn't intersect again and goes off to infinity, which is the additive identity, therefore P+Q = -R.
Okay, a point at infinity is the additive identity because the result of adding 2 points is the same regardless of whether you add the point at infinity or not.
(The "infinity" comes from the fact that in the challenge, we looke at the curve in an affine plane, but you would usually consider elliptic curves in the projective plane. That is where you get the "infinity" from.)
A number of Spanish names for chili peppers have migrated into English (at least in parts of the western and southwestern United States, where many types of chilies are sold in fruit and vegetable markets). Three varieties of these peppers have different names when fresh and when dry:
poblano c...
Write a program that seemingly adds the numbers 2 and 2 and outputs 5. This is an underhanded contest.
Your program cannot output any errors. Watch out for memory holes! Input is optional.
Redefining 2+2 as 5 is not very creative! Don't doublethink it, try something else.
@Maltysen Martin said he wanted to make a language like mine, but based on a Rubik's cube so the code can be twisted at runtime. So I'll let him use that name if he wants
The Eurocopter X³ (X-Cubed) is an experimental high-speed compound helicopter developed by Eurocopter (now Airbus Helicopters). A technology demonstration platform for Eurocopter "high-speed, long-range hybrid helicopter" or H³ concept, the X³ achieved 255 knots (472 km/h; 293 mph) in level flight on 7 June 2013, setting an unofficial helicopter speed record.
== Design and development ==
=== Technology ===
The X³ demonstrator is based on the Eurocopter AS365 Dauphin helicopter, with the addition of short span wings each fitted with a tractor propeller, having different pitch to counter the torque...
Parse default arguments
code-golf
Many languages have the concept of default/variable arguments. It basically means you can have a function that when given too few arguments, will fill in the missing arguments with specified values. For example, you can do the following in Python:
WARNING: THE...
A fun thing: denote the rational number 2^a 3^b 5^c 7^d ... by its list of (positive or negative) prime exponents [a, b, c, d...]. Then consider functions f : ℤⁿ → ℤ for which f(0, ..., 0) = 0. Then define f* : ℚⁿ → ℚ by f([a₁, b₁, c₁, ...], ..., [aₙ, bₙ, cₙ, ...]) = [f(a₁, ..., aₙ), f(b₁, ..., bₙ), f(c₁, ..., c₂), ...]
Essentially, take a function and vectorize it over prime exponent lists.
+* is multiplication. min* is gcd, and max* is lcm.
@flawr Does it have a name, in general? I know the gcd/lcm thing isn’t novel – “min/max on the exponents” is a quite common definition of those. But perhaps you can extend it to some other functions and get interesting results.
Yo momma so fat, she perturbs Jupiter, Saturn and Uranus in their orbits, and every time she moves an arm, it takes weeks for astronomers to compensate for it.
Have we had a repeating digit base-conversion question? I can't seem to find one. ... Meaning like how 55 repeats digits in base 10, but 90 repeats digits in base 14 (66) ... Challenge would be to find a base in which input x has repeat digits, or output a falsey value.