mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2010-04-12, 17:17   #67
alexhiggins732
 
Mar 2010
Brick, NJ

4316 Posts
Default

Quote:
Originally Posted by flouran View Post
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 .
alexhiggins732 is offline   Reply With Quote
Old 2010-04-12, 17:29   #68
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts
Default

Quote:
Originally Posted by davieddy View Post
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
Mini-Geek is offline   Reply With Quote
Old 2010-04-12, 17:59   #69
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

144638 Posts
Default

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
davieddy is offline   Reply With Quote
Old 2010-04-12, 18:15   #70
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

1019410 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
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
xilman is offline   Reply With Quote
Old 2010-04-12, 19:01   #71
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

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

Quote:
Originally Posted by cheesehead View Post
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
cheesehead is offline   Reply With Quote
Old 2010-04-12, 19:11   #72
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

6,451 Posts
Default 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
davieddy is offline   Reply With Quote
Old 2010-04-12, 20:25   #73
S485122
 
S485122's Avatar
 
Sep 2006
Brussels, Belgium

1,597 Posts
Default

Quote:
Originally Posted by davieddy View Post
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
S485122 is offline   Reply With Quote
Old 2010-04-12, 22:01   #74
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

6,451 Posts
Default

THX Jacob.
I will either defer to my previous communique,
or get William Blipp on the job

David
davieddy is offline   Reply With Quote
Old 2010-04-15, 01:19   #75
only_human
 
only_human's Avatar
 
"Gang aft agley"
Sep 2002

3,581 Posts
Default

Quote:
Originally Posted by davar55 View Post
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
only_human is offline   Reply With Quote
Old 2010-04-20, 14:05   #76
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

8,369 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
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
science_man_88 is offline   Reply With Quote
Old 2010-04-20, 14:29   #77
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

8,369 Posts
Default

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
science_man_88 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding Squares a1call Miscellaneous Math 42 2017-02-03 01:29
Basic Number Theory 12: sums of two squares Nick Number Theory Discussion Group 0 2016-12-11 11:30
Integers = sums of 2s and 3s. 3.14159 Miscellaneous Math 12 2010-07-21 11:47
Sums of three squares CRGreathouse Math 6 2009-11-06 19:20
squares or not squares 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.