mersenneforum.org Sums of all Squares
 User Name Remember Me? Password
 Register FAQ Search Today's Posts Mark Forums Read

2010-04-12, 17:17   #67
alexhiggins732

Mar 2010
Brick, NJ

4316 Posts

Quote:
 Originally Posted by flouran I guess Atkin is often mistaken for the diet
http://wwwhomes.uni-bielefeld.de/achim/prime_sieve.html has it labeled Sieve of Atkins and points the the PDF I referenced above.

Being a crank and all, its practically a given that I'll have many more misnomers than this .

2010-04-12, 17:29   #68
Mini-Geek
Account Deleted

"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts

Quote:
 Originally Posted by davieddy I thought a calory was 4.2 Joule, but nutritionists use the term to refer to a kilocalory. I don't think there are different types for different foods. Even the "type of energy" it measures is the same for everything. David
In America, the most commonly quoted rule is:
1 Calorie (with a capital C) = 1 kilocalorie = 1000 calories (with a lower-case c) = 4.2 kJ

 2010-04-12, 17:59 #69 davieddy     "Lucan" Dec 2006 England 144638 Posts Yes - I deliberated over the capitalization and singular of calories. I don't think things were thoroughly standardized pre SI. I was weaned on the foot poundel, and considered the erg a newfangled Napoleonic invention David PS is there any concensus about kB, KB, kb or Kb for killerbight? Last fiddled with by davieddy on 2010-04-12 at 18:35
2010-04-12, 18:15   #70
xilman
Bamboozled!

"πΊππ·π·π­"
May 2003
Down not across

1019410 Posts

Quote:
 Originally Posted by Mini-Geek In America, the most commonly quoted rule is: 1 Calorie (with a capital C) = 1 kilocalorie = 1000 calories (with a lower-case c) = 4.2 kJ
True in the UK too.

Though I'd phrase the relationship as 1000 calories is approximately 4.2kJ

Paul

2010-04-12, 19:01   #71
cheesehead

"Richard B. Woods"
Aug 2002
Wisconsin USA

22·3·599 Posts
Atkins sieve diet v1.1.2 bug-fix release

Quote:
 Originally Posted by cheesehead Well, the diet is a sieve, screening out
the calories borne by
Quote:
 certain types of
food
Quote:
 , isn't it?

Last fiddled with by cheesehead on 2010-04-12 at 19:08

 2010-04-12, 19:11 #72 davieddy     "Lucan" Dec 2006 England 6,451 Posts Physical Units I feel a new thread coming on, initiated by this latest (hijacking) exchange. David Science and Technology would be the appropriate location. Paul? David Last fiddled with by davieddy on 2010-04-12 at 19:22
2010-04-12, 20:25   #73
S485122

Sep 2006
Brussels, Belgium

1,597 Posts

Quote:
 Originally Posted by davieddy PS is there any concensus about kB, KB, kb or Kb for killerbight?
Yes there is a standard. First of all the "k" should be lower case for all units, see the site of the BIPM that defines the SI system, more precisely the page SI prefixes... Except for 210 (1024) bytes where it is KiB with a capital "K" an "i" to mark the power of two "kilo" of 1024 bytes. 103 (1000) bytes is a kB. See the interesting discussion at Prefixes for binary multiples.

Then bi signifies bits and B signifies bytes.

So depending on the quantity you speak of : it should be 1 KiB for 1024 bytes and 1 kB for 1000 bytes.

1 kb represents 1000 bits.

KB and Kb are no units that I know of.

Jacob

Last fiddled with by S485122 on 2010-04-12 at 20:28 Reason: fixed sup -> exp tag and a missing / in an url tag

 2010-04-12, 22:01 #74 davieddy     "Lucan" Dec 2006 England 6,451 Posts THX Jacob. I will either defer to my previous communique, or get William Blipp on the job David
2010-04-15, 01:19   #75
only_human

"Gang aft agley"
Sep 2002

3,581 Posts

Quote:
 Originally Posted by davar55 Another way to extend this problem is to use a base other than ten. I think binary. 2^2 + 3^2 + 5^2 + ... + p^2 = 2mK What is the smallest prime p such that the sum of squares of all primes up to p is a multiple of 2 (or 4 or 8 or 16 or ...). This question can also be asked of first powers or cubes of primes. Since we basically compute in decimal or binary, if there's an interesting number theoretic fact here we may find it in one of these two related sequences of sequences.
Back to this part, I wanted to make a comment or two about sums of odd squares in binary that is too concrete to be nice mathematics but I have mused over recently. Speaking of odd primes (or any odd numbers actually), the squares are all 1 (mod 8), so a sum of these squares will include all these 1's added together as part of the result, therefore:

With regards to the sum of N odd squares (or in your case, squares of odd primes),
2mK == N (mod 8)

I recently noticed that any odd square is one more than 8 times a triangular number:
n2 = 8t + 1

Trivial facts:
The nth triangular number is n(n+1)/2
Squares are the sum of N consecutive odd integers
Triangular Numbers are the sum of N consecutive integers
Two consecutive triangular numbers added together is equal to a square

Some aspect of these trivial facts might come in handy; calling a particular triangular number ti, and the next triangular number in sequence ti+1, we can look at twin primes and consider the sum of their squares:
p2 + (p+2)2 = 8ti + 1 + 8ti+1 + 1
Since ti + ti+1 is itself a square that means that the sum of the squares of a the pair twinned primes is two more than a eight times a square. I don't know a use for this except that it is elementary fact accessible to me and it applies to all consecutive odd numbers but of primes, only to twin primes because they are the only consecutive odd numbers that are also prime.

Last fiddled with by only_human on 2010-04-15 at 01:41 Reason: grammar; rewrote generalization that applied to all odd numbers rather than just primes

2010-04-20, 14:05   #76
science_man_88

"Forget I exist"
Jul 2009
Dumbassville

8,369 Posts

Quote:
 Originally Posted by Mini-Geek In America, the most commonly quoted rule is: 1 Calorie (with a capital C) = 1 kilocalorie = 1000 calories (with a lower-case c) = 4.2 kJ
actually more exact it's 4.184 I think

as to the code if i know what to help with I do have a ASM forum I have gone to maybe they could turn it to straight asm ( apparently ASM is now changed with different OS but if we can get it to a form that will work on most OS'es would that be worthy ?)

Last fiddled with by science_man_88 on 2010-04-20 at 14:35

 2010-04-20, 14:29 #77 science_man_88     "Forget I exist" Jul 2009 Dumbassville 8,369 Posts I know some assembly but not really enough to help plus to assemble anything I'll have to use my links to masm32 download, and possibly http://win32assembly.online.fr/tut2.html

 Thread Tools

 Similar Threads Thread Thread Starter Forum Replies Last Post a1call Miscellaneous Math 42 2017-02-03 01:29 Nick Number Theory Discussion Group 0 2016-12-11 11:30 3.14159 Miscellaneous Math 12 2010-07-21 11:47 CRGreathouse Math 6 2009-11-06 19:20 m_f_h Puzzles 45 2007-06-15 17:46

All times are UTC. The time now is 03:42.

Fri Nov 27 03:42:02 UTC 2020 up 78 days, 53 mins, 4 users, load averages: 2.56, 2.01, 1.70

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.