# AgainstASicilian

less info
reputation
212
bio website location age member for 1 year, 10 months seen Mar 4 at 4:48 profile views 84

# 151 Actions

 Mar24 awarded Notable Question Mar2 awarded Popular Question Jan11 awarded Popular Question Sep4 awarded Popular Question Jul18 comment Finding the sum of two numbers knowing only the primes @RossMillikan I am doing this in C++ for something work-related and I can't use bignums for this Jul18 comment Finding the sum of two numbers knowing only the primes @jameselmore right; I am working with some large numbers in a program and I can't store the full value, so I am trying to store the prime factorization instead to save memory. Jul18 asked Finding the sum of two numbers knowing only the primes Jun19 awarded Critic Jun17 comment Generating all coprime pairs within limits A and B might go as high as 40000 each or so. Nothing huge, but large enough to get irritating. Generated one by one is okay. Jun17 asked Generating all coprime pairs within limits Jun13 awarded Popular Question Jun5 awarded Yearling May9 asked Modular arithmetic with decimals Jan20 comment What kind of graph is this? I have a grid of size n by n. I have points on this grid (arbitrary number / position of them). I can only go from one point to another, and I can only go to an immediately visible point that is greater than the one I am currently at in either x, y, or both x and y coordinate. Jan20 comment What kind of graph is this? @CalvinLin So I can convert it to a 1D array representation Jan20 asked What kind of graph is this? Nov27 comment How to convert this into a single closed form? Ah I gotcha -- it's (64*(b*(b+1)/2)**2 + 48*(b*(b+1)*(2*b+1)/6) + 32*(b*(b+1)/2) + 6*(b+1))/3 + 2*(b+1). I understand now. Thank you! Nov27 comment How to convert this into a single closed form? so with p=4i+1, is the sum (64*(b*(b+1)/2)**2 + 48*(b*(b+1)*(2*b+1)/6) + 32*(b*(b+1)/2) + 22*b)/3 + 3*b? Getting the wrong answer despite following this method Nov26 accepted How to convert this into a single closed form? Nov26 comment How to convert this into a single closed form? Is there any way to generalize this to arbitrary p (maybe in another equation p=5i+6 instead, etc)? I'll accept this as answer anyway in the meantime, just curious