Talk:Attractive numbers: Difference between revisions

→‎optional requirements?: added another comment.
m (:-))
(→‎optional requirements?: added another comment.)
 
(5 intermediate revisions by the same user not shown)
Line 3:
 
::*   showing the   ''number''   (count)   of attractive numbers up to and including:
::::*        10,000
::::*      100,000
::::*   1,000,000
 
 
Line 11:
 
:: I would suggest 10^5 but not 10^6, which would heat a lot of cores, reduce the number of participating languages, and perhaps yield rather limited additional insight or opportunities for learning ?
 
::: You did read where I said ''optional'', didn't you?   I don't think people will skip a task based on the optional or stretch goal   (or extra/extended credit, et al).     -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 14:54, 21 October 2019 (UTC)
 
:: A shame to be fruitlessly profligate with fuel while the glaciers melt :-) [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 10:52, 11 April 2019 (UTC)
 
::: :-)<br>--[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 12:20, 11 April 2019 (UTC)
 
:::: I don't think anybody (including the environment) will be impacted for computing (largish) attractive numbers. &nbsp; I never shut my computer off, and there isn't much power increase of running (at full throttle) one engine. &nbsp; For me, this is "free" heat, as anything the PC generates for heat, my furnace doesn't have to run a tenth of a second. &nbsp; Six of one, a half-dozen of the other. &nbsp; I only pay around 8¢/KWH (kilowatt-hour), but some people pay around the 12¢/KWH range &nbsp; (or more, my friend in Boston used to pay around 14.2¢/KWH about seven years ago). &nbsp; Converting that figure from kilowatt-hours to kilowatt-seconds borders on the ludicrous, but still fun to do back-of-the-envelope calculations. &nbsp; From my ammeter, my (slow) PC uses about 40 watts, my (newer and faster) PC uses less. &nbsp; (This power draw is confirmed by a meter on my UPS which the computer is plugged into, other auxiliary computer components have their own UPS). &nbsp; Counting the number of attractive numbers up to one million &nbsp; (assuming that I'll pay the extra amount of power used &nbsp; (even though the computer would be running anyway), &nbsp; would've cost me quite a bit less than '''1¢''' &nbsp; (1¢÷90), &nbsp; by my calculations. &nbsp; Now, &nbsp; $0.000111 &nbsp; is barely noticeably, but ya know, if a crowd of a couple of dozen people execute it, &nbsp; well ... &nbsp; that's still piddly monies. &nbsp; If anybody wants a refund, send me a &nbsp; [https://en.wikipedia.org/wiki/Self-addressed_stamped_envelope SASE] &nbsp; and I'll write you a check. &nbsp; Now, to me, this is funny. &nbsp; The cores! &nbsp; The hot cores! &nbsp; Just think of all the electrons killed just sending this message. &nbsp; (And people say the electrical engineers don't have any sense of humor). &nbsp; <big><big><big> 😊 </big></big></big> &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 14:54, 21 October 2019 (UTC)
 
:::: I just saw a post (another Rosetta Code task) that (userid Horst.h) stated: &nbsp; --- &nbsp; ''Total power dissipation 115 watts running on all cores on all core (sic), &nbsp; ... &nbsp; 6-Core PC AMD Ryzen 5 1600 (3.4 Ghz on all cores Linux64 with SMT= on)''. &nbsp; &nbsp; So with six fast engines, 115 watts 'tain't that much, three times what I use on my (slower) one engine, but what the hey!! &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 17:53, 21 October 2019 (UTC)
 
:::: I see that the &nbsp; '''Pascal''' &nbsp; entry has computed (counted) the number of attractive numbers up to '''one billion''' &nbsp; (and took only 43 seconds). &nbsp; Now, that's going the extra mile, for sure. &nbsp; Kudos to (userid) Horst.h ! &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 13:56, 22 October 2019 (UTC)
 
:::: (an update): &nbsp; &nbsp; I see that the &nbsp; '''Pascal''' &nbsp; entry has computed (counted) the number of attractive numbers up to '''ten billion'''. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 08:40, 23 October 2019 (UTC)