## Search found 862 matches

- Thu May 18, 2017 8:48 am UTC
- Forum: Mathematics
- Topic: Unit Spheres in a Pile
- Replies:
**5** - Views:
**1798**

### Re: Unit Spheres in a Pile

Gauss only proved that for lattices. The full theorem was only resolved in 1998.

- Wed Apr 12, 2017 5:52 am UTC
- Forum: The Help Desk
- Topic: Issues with opengl / webgl on Ubuntu 16.04 MATE
- Replies:
**1** - Views:
**1871**

### Issues with opengl / webgl on Ubuntu 16.04 MATE

System info: ⋅ Ubuntu 16.04.2 LTS (Xenial) 64-bit ⋅ Kernel 4.4.0-47-generic x86_64 ⋅ MATE 1.12.1 ⋅ Intel i7-6700K ⋅ 64 GB RAM ⋅ GeForce GT 730 ⋅ NVIDIA binary driver version 375.39 Some time ago (a few weeks to a couple mon...

- Sat Apr 01, 2017 7:31 pm UTC
- Forum: Mathematics
- Topic: Odd cubic perfect numbers divisible by 5
- Replies:
**0** - Views:
**2140**

### Odd cubic perfect numbers divisible by 5

Have they been shown to be nonexistent? I know that the existence of odd perfect numbers is an open question, and I also know that so many constraints have been derived on them that they probably don't exist, but I'm presently concerned only with those that are also cubes and multiples of 5. This ar...

- Sun Oct 23, 2016 9:51 am UTC
- Forum: Coding
- Topic: Where to find interview-style coding problems?
- Replies:
**8** - Views:
**3319**

### Re: Where to find interview-style coding problems?

Programming Praxis posts interview questions every now and then.

- Tue Oct 04, 2016 4:36 am UTC
- Forum: Science
- Topic: Ideal lenses
- Replies:
**0** - Views:
**4341**

### Ideal lenses

TL;DR: What is the shape of the ideal planoconvex lens? More precise formulation, and my work so far: A lens sits in the xy plane. The lens has index of refraction n 2 and the rest of the plane has index of refraction n 1 . The lens is bounded below by the x axis and above by a function f ( x ). Le...

- Mon Oct 03, 2016 2:04 pm UTC
- Forum: Mathematics
- Topic: Factorization using modular arithmetic
- Replies:
**41** - Views:
**7400**

### Re: Factorization using modular arithmetic

Solving quadratic equations modulo composites is indeed easy when the modulus is small, but when the modulus is large, the best methods we know of involve actually factoring the modulus. So unless you have a fast way to solve modular quadratics that doesn't involve factoring, this isn't going anywhe...

- Thu Sep 08, 2016 3:52 am UTC
- Forum: Mathematics
- Topic: What's your favourite irrational number?
- Replies:
**78** - Views:
**19081**

### Re: What's your favourite irrational number?

Eebster the Great wrote:What about the number x defined such that 0 < x < 1 and the i^{th}digit of x is the i^{th}element of 0^{†}(mod 10), ordered lexicographically, where 0^{†}is zero dagger?

The problem with that is that it might not exist.

- Wed Aug 31, 2016 11:00 am UTC
- Forum: Science
- Topic: What is the largest possible artificial lake we could make today?
- Replies:
**16** - Views:
**2975**

### Re: What is the largest possible artificial lake we could make today?

We can avoid the issues presented by dams by simply flooding a pre-existing endorheic basin. In fact, we've already done this by accidentally creating the Salton Sea . The Salton Sea is currently 73m below sea level; to raise it to 0m, we could just dig a canal from the ocean to the New River or Ala...

- Wed Aug 31, 2016 10:37 am UTC
- Forum: Mathematics
- Topic: Torsion subgroups for elliptic curves over Q
- Replies:
**3** - Views:
**1798**

### Re: Torsion subgroups for elliptic curves over Q

Computing 12P directly is quite inefficient when P isn't a torsion point: for non-torsion points, the denominators of nP are about twice the size (in terms of bit length) of the denominators of (n-1)P, which slows down the computation dramatically. So it's much more efficient for non-torsion points ...

- Mon Aug 29, 2016 9:56 am UTC
- Forum: Mathematics
- Topic: Torsion subgroups for elliptic curves over Q
- Replies:
**3** - Views:
**1798**

### Torsion subgroups for elliptic curves over Q

TL;DR : Is there a way faster than the Nagell-Lutz theorem to tell whether the torsion subgroup of the elliptic curve y 2 = x 3 + ax + b over Q , where a and b are integers, is trivial? Context: As a personal project I wrote some code to analyze an elliptic curve over the rationals to extract and c...

- Wed Aug 24, 2016 12:24 pm UTC
- Forum: Individual XKCD Comic Threads
- Topic: 0827: "My Business Idea"
- Replies:
**98** - Views:
**23016**

### Re: 0827: "Business Idea"

OP here. 'Tis changed.

- Wed Aug 03, 2016 1:02 pm UTC
- Forum: Computer Science
- Topic: How good is lattice based cryptography looking?
- Replies:
**1** - Views:
**2424**

### Re: How good is lattice based cryptography looking?

I have no answer for this, but I'd like to quasi-hijack this thread to ask the corresponding question about cryptography based on supersingular isogeny.

- Thu Jun 23, 2016 1:46 am UTC
- Forum: Forum Games
- Topic: Count up with the Five Fives puzzle
- Replies:
**298** - Views:
**15139**

### Re: Count up with the Five Fives puzzle

27=5*5+((5+5)/5)

- Wed Jun 15, 2016 6:02 pm UTC
- Forum: Mathematics
- Topic: Completions, Cauchy sequences, and countability
- Replies:
**7** - Views:
**2728**

### Re: Completions, Cauchy sequences, and countability

If it's just decimals that you don't like, then I recommend using continued fractions instead. There is a 1-to-1 correspondence between infinite simple continued fractions and irrational numbers: each infinite SCF converges to a single value, and each irrational number has a unique SCF that represen...

- Wed Jun 08, 2016 11:50 pm UTC
- Forum: Coding
- Topic: Memoizing a generator in Python
- Replies:
**1** - Views:
**3008**

### Memoizing a generator in Python

I'd like to memoize a generator in Python. Specifically, I have an incremental sieve of Eratosthenes that gets called from scratch a lot , and I'd like to avoid recomputing (up to some arbitrary finite number of) the numbers it yields. Memoizing a pure function is easy enough, and there are any numb...

- Thu Jun 02, 2016 2:01 am UTC
- Forum: Forum Games
- Topic: Can you produce [X] in less than 15 seconds?
- Replies:
**7072** - Views:
**507103**

### Re: Can you produce [X] in less than 15 seconds?

There is one within 15 seconds' distance from me, but actually finding it in that pile of junk took too long.

A pressure vessel of any sort?

A pressure vessel of any sort?

- Tue May 31, 2016 4:59 pm UTC
- Forum: Forum Games
- Topic: Can you produce [X] in less than 15 seconds?
- Replies:
**7072** - Views:
**507103**

### Re: Can you produce [X] in less than 15 seconds?

Took me more than 15 seconds to decide which one was the best, but all my options were within 15 seconds of me, so yes.

Copper that isn't part of a coin or electrical device?

Copper that isn't part of a coin or electrical device?

- Sun May 29, 2016 11:12 am UTC
- Forum: Forum Games
- Topic: Can you produce [X] in less than 15 seconds?
- Replies:
**7072** - Views:
**507103**

### Re: Can you produce [X] in less than 15 seconds?

Nope. Never even heard of such a feature.

In other news, I have several pounds of tungsten sitting on my desk.

In other news, I have several pounds of tungsten sitting on my desk.

- Sun May 29, 2016 11:10 am UTC
- Forum: Forum Games
- Topic: Complete the Grid!
- Replies:
**1232** - Views:
**99045**

- Sun May 15, 2016 2:50 am UTC
- Forum: Forum Games
- Topic: Complete the Grid!
- Replies:
**1232** - Views:
**99045**

- Sun May 15, 2016 2:37 am UTC
- Forum: Forum Games
- Topic: The Incredible Changing Sentence
- Replies:
**5618** - Views:
**537622**

### Re: The Incredible Changing Sentence

Christian canonized caramel chameleons' circadian Circassian Kardashians' Cardassians' Dame Rapunzel Č. McGuirewa's not the Empress who wished for so much purple omorashi that my platinum clock and the moribund pancake mandrake then creates plans, definitely Dirty... so why not Marxism?

- Wed May 11, 2016 5:13 am UTC
- Forum: Forum Games
- Topic: Complete the Grid!
- Replies:
**1232** - Views:
**99045**

### Re: Complete the Grid!

I reflected the rainbow in F5.

- Wed May 11, 2016 5:03 am UTC
- Forum: Forum Games
- Topic: The Incredible Changing Sentence
- Replies:
**5618** - Views:
**537622**

### Re: The Incredible Changing Sentence

Of chameleons' circadian Circassian Kardashians' Cardassians, Rapunzel Č. McGuire was not convinced, but Empress Violentlyyeti, viewing my platinum clock, and the slimy pancake I then create, is definitely Dirty Beatrix Potter.

- Sun May 08, 2016 7:51 pm UTC
- Forum: Coding
- Topic: [Resolved] Generalized Hamming numbers in Python
- Replies:
**3** - Views:
**3185**

### Re: [Resolved] Generalized Hamming numbers in Python

Thanks; that was enlightening.

- Sat May 07, 2016 8:04 pm UTC
- Forum: Coding
- Topic: [Resolved] Generalized Hamming numbers in Python
- Replies:
**3** - Views:
**3185**

### [Resolved] Generalized Hamming numbers in Python

I found an elegant and efficient Hamming number generator in Python, which I have modified a bit to fit my own personal idiom: from itertools import tee, chain, groupby from heapq import merge def hamming0(): def deferred_output(): yield from output p2, p3, p5, result = tee(deferred_output(), 4) m2,...

- Wed Apr 06, 2016 6:42 pm UTC
- Forum: Mathematics
- Topic: Efficiently summing a multiplicative function via inclusion-exclusion
- Replies:
**3** - Views:
**1784**

### Re: Efficiently summing a multiplicative function via inclusion-exclusion

Because the folks running the challenge discourage participants from posting full solutions on their blogs or finding the solutions by googling for people who do post their solutions like that. From their FAQ: I solved it by using a search engine, does that matter? Making use of the internet to rese...

- Tue Apr 05, 2016 7:11 pm UTC
- Forum: Mathematics
- Topic: Efficiently summing a multiplicative function via inclusion-exclusion
- Replies:
**3** - Views:
**1784**

### Efficiently summing a multiplicative function via inclusion-exclusion

This might be better suited to the Coding or CS sections, but this seems mathy enough to belong here. I'm working on a problem for a programming challenge (obfuscated to make googling this thread harder: it's # 22 2 in rot13(Cebwrpg Rhyre)). It devolves to computing the sum of a multiplicative funct...

- Fri Mar 04, 2016 5:51 pm UTC
- Forum: Mathematics
- Topic: Cardano triplets
- Replies:
**0** - Views:
**3554**

### Cardano triplets

Project Euler problem #251 defines a Cardano triplet as a triplet of positive integers ( a , b , c ) such that ∛( a + b √ c ) + ∛( a - b √ c ) = 1. We are asked to find the number of Cardano triplets with a + b + c ≤ 110,000,000. There's a reasonably obvious solution (transform the equation to b 2 ...

- Wed Feb 24, 2016 2:03 am UTC
- Forum: Science
- Topic: Food pressure
- Replies:
**3** - Views:
**2117**

### Re: Food pressure

Soooo.... convert the chemical potential energy of that cantaloupe into heat but keep it in the same volume, and you'd have a gas with 10

^{9}Pa of pressure?- Sat Feb 13, 2016 3:57 am UTC
- Forum: Mathematics
- Topic: Initial seeds for Aberth's method
- Replies:
**1** - Views:
**1338**

### Initial seeds for Aberth's method

When using Aberth's method for approximation of polynomial roots, are there any restrictions on the values of the initial seeds? Various root-finding methods are known to fail when the initial seeds are ill-conditioned in some manner (such as Durand-Kerner's inability to find non-real roots when the...

- Tue Jan 19, 2016 3:28 am UTC
- Forum: Coding
- Topic: xkcd Phone: Application Programming Language
- Replies:
**21** - Views:
**6623**

### Re: xkcd Phone: Application Programming Language

There will be no such thing as indentation. Lines beginning with whitespace produce syntax errors.

- Wed Jan 06, 2016 1:57 am UTC
- Forum: Mathematics
- Topic: Elementary evaluation of Legendre symbol (3|p)
- Replies:
**2** - Views:
**1308**

- Tue Jan 05, 2016 3:43 am UTC
- Forum: Mathematics
- Topic: Elementary evaluation of Legendre symbol (3|p)
- Replies:
**2** - Views:
**1308**

### Elementary evaluation of Legendre symbol (3|p)

Using Euler's criterion and quadratic reciprocity, it can be shown with little difficulty that for odd primes p ≥5, we have 3 ( p -1)/2 ≡(-1) ⌊(p+1)/6⌋ (mod p ), which then reduces further to +1 if p ≡±1 (mod 12) and -1 if p ≡±5 (mod 12). I'd like to prove this in a more elementary f...

- Sat Dec 26, 2015 6:04 pm UTC
- Forum: Mathematics
- Topic: Counting tetris arrangements
- Replies:
**2** - Views:
**1440**

### Re: Counting tetris arrangements

The shifted version you describe would not be considered stable.

- Sat Dec 26, 2015 1:47 am UTC
- Forum: Mathematics
- Topic: Counting tetris arrangements
- Replies:
**2** - Views:
**1440**

### Counting tetris arrangements

So I received this lamp for xmas... https://www.thinkgeek.com/images/products/zoom/f034_tetris_stackable_LED_desk_lamp.jpg It consists of the seven Tetris pieces; the long one plugs into the wall, and the other pieces can be pushed up against it to light up. Their arrangement must be coplanar, and t...

- Thu Dec 17, 2015 3:36 am UTC
- Forum: Science
- Topic: Wendelstein 7-X
- Replies:
**43** - Views:
**6505**

### Re: Wendelstein 7-X

If the helium and the neutron carry equal kinetic energies, then their momenta will have different magnitudes.

- Tue Dec 15, 2015 3:49 am UTC
- Forum: Science
- Topic: Unbihexium density?
- Replies:
**11** - Views:
**2554**

### Re: Unbihexium density?

Incidentally, where did you get tungsten in that purity / shape? I've been looking for some in a spherish sort of form with a purity in the range of 99%, but all I can find is ultra-expensive precision-machined stuff.

- Sat Nov 28, 2015 8:12 pm UTC
- Forum: Mathematics
- Topic: Record High/Low
- Replies:
**3** - Views:
**1436**

### Re: Record High/Low

But if the distribution shifts, then the probability of a record is increased in the direction of the shift, with the net result being an increase in the total number of records — for example, the planet is warming up, so we can expect (and in fact we do observe) an excess of record highs and a dear...

- Mon Nov 16, 2015 7:13 pm UTC
- Forum: Forum Games
- Topic: Count to a Million
- Replies:
**74939** - Views:
**4576759**

### Re: Count to a Million

2 × 3 × 29 × 359

- Fri Oct 02, 2015 12:08 am UTC
- Forum: Mathematics
- Topic: Factoring numbers of the form p^x+q^y
- Replies:
**3** - Views:
**1833**

### Re: Factoring numbers of the form p^x+q^y

If both exponents are powers of 2, then we're looking at generalized Fermat numbers . If p=y and x=q , we have ourselves a Leyland number . If both exponents are 4, we're dealing with quartan numbers . I am not aware of any term that encompasses all numbers of the form you're discussing, so I'll ana...