Psychology and Mental Health Forum | |
https://www.psychforums.com/blog/highdimensionman/index_sid-d37d8ca14c06c0199d59a9f6f5bf3c26_start-980.html |
Author: | highdimensionman [ Sat Apr 04, 2015 9:42 am ] |
Blog Subject: | An easyish way to tell if a big number is a prime. |
So for your number n you have a list of n-1 1's and a zero. Convert this list with base 2 and base 5 conversion and mod by n. if the number is 2 it's prime also if both of your modulations are 0 it's very probably if not certianly a prime. Using the optimisation techniques in base coversion already known it should be reatively easy to get the modulation results without having to convert most of the digits. This means if always true then this is fastest primality test on earth. |
Author: | highdimensionman [ Wed Mar 04, 2015 10:36 pm ] |
Blog Subject: | Some Code and Interesting results relating to the primes. |
It seems If I can kind of tell if a number is a composite or prime very Quickly once I've done some more tweaking and not only that differnt types of composites seem to yeild different behavours too. I might be very close to fast prime factorisation or at least a very fast probable prime test that can even be done quickly on numbers with 100's of millions of digits long evn a billion digits long quickly with a good GPU once coded properly for. The Results First Comparing Primes with Compisites {{{0, -2, 0, 2}, {0, 0, 0, 1,0}}, {{-2, 0, 1, -1}, {0, 0, 1, 1, 0}}}, {{{-2, 0, 2, 0}, {0, 0,0, 0, 0}}, {{0, 2, 0, 0}, {0, 0, 1, 1, 0}}}, {{{0, -2, 0, 2}, {0, 0, 0, 0, 0}}, {{2, 0, 1, -1}, {0, 0, 1, -1, -1}}}, {{{2, 0, 0,2}, {0, 0, 0, 0, 0}}, {{0, 2, 0, 2}, {0, 0, -1, -1,0}}}, {{{0, -2, 2, 0}, {0, 0, 1, 0, 0}}, {{0, -2, -2, 0}, {0, 0,0, 1, 0}}}, {{{-2, 0, 2, 0}, {0, 0, 0, 0, 0}}, {{2, 0, 0, 0}, {0, 0, 1, -1, 0}}}, {{{2, 0, 0, -2}, {0, 0, 0, 0, 0}}, {{0, 2, 1,1}, {0, 0, -1, 1, 0}}}, {{{2, 0, 2, 0}, {0, 0, 0, 1, 0}}, {{0, 2, 1, 1}, {0, 0, 1, 1, 0}}}, {{{0, -2, 2, 0}, {0, 0, 0, 0, 0}}, {{-2, 0, 1, -1}, {0, 0, -1, 0, 0}}}, {{{0, 2, 0, 2}, {0, 0, 0, 1, 1}}, {{0, 2, 1, -1}, {0, 0, 1, 1, 0}}} Now Comparing 3 Prime Composites with 2 Prime Composites {{{0, 2, 0, -2}, {-1, -1, 1, 0, 1}}, {{0, 2, 2, 0}, {-1, 1, -1, 0, 0}}}, {{{2, 0, 0, -2}, {0, -1, 0, 0, -1}}, {{0, 2, 2, 0}, {-1, -1,1, 0, 0}}}, {{{0, -2, 0, -2}, {0, 0, 0, 0, 1}}, {{-2, 0, 2, 0}, {1, 0, -1, 1, 0}}}, {{{-2, 0, 2, 0}, {1, 0, 0, 0, 0}}, {{0, -2, -2, 0}, {0, 0, -1, 1, 0}}}, {{{2, 0, 0, -2}, {1, 1, -1, 0, -1}}, {{0,2, 2, 0}, {0, -1, -1, -1, 0}}}, {{{-2, 0, -2, 0}, {-1, 0, 0, 0, 0}}, {{0, -2, 0, 2}, {0, 0, 1, 0, 0}}} Now the MatheMatica Code I used FiveItt[x98_, cc5_] := DifferenceRoot[ Function[{\[FormalY], \[FormalN]}, {-cc5 - cc5 \[FormalY][\[FormalN]] + \[FormalY][1 + \[FormalN]] == 0, \[FormalY][1] == 1, \[FormalY][2] == cc5}]][x98]; BCC[x55_, g77_] := Drop[Flatten[Reap[ Module[ {x45 = x55, z7 = 0, z8 = 0, z9, g7 = g77, bell}, z7 = If[x45/FiveItt[Length[IntegerDigits[x45, g7]], g7] <= 1, If[x45 == 1, 1, Length[IntegerDigits[x45, g7]] - 1], Length[IntegerDigits[x45, g7]]]; bell = FiveItt[z7 - 1, g7]; z9 = g7^(z7 - 1); Label[SPo]; z8 = If[IntegerQ[x45/g7] && x45 > g7, Quotient[x45 - bell - (1/(2*g7)), z9], If[x45 <= g7, x45, Quotient[x45 - bell, z9]]]; Sow[z8]; x45 = x45 - (z8*(z9)); z7 = z7 - 1; z9 = z9/g7; bell = bell - z9; If[z7 < 1, Goto[EnD], Goto[SPo]]; Label[EnD]; ] ]], 1]; Px = Compile[ {{x1d, _Complex}, {si1d, _Real}} , Module[{x1c = x1d, si1c = si1d} , x1c + 1/2 (Floor[ Re[(-4 + si1c + Sqrt[(-4 + si1c)^2 + 8 (-2 + si1c) (-1 + x1d)])/( 2 (-2 + si1c))]] + Floor[Im[(-4 + si1c + Sqrt[(-4 + si1c)^2 + 8 (-2 + si1c) (-1 + x1d)])/( 2 (-2 + si1c))]] I) (-4 + si1c - (-2 + si1c) (Floor[ Re[(-4 + si1c + Sqrt[(-4 + si1c)^2 + 8 (-2 + si1c) (-1 + x1c)])/( 2 (-2 + si1c))]] + Floor[Im[(-4 + si1c + Sqrt[(-4 + si1c)^2 + 8 (-2 + si1c) (-1 + x1c)])/( 2 (-2 + si1c))]] I))] , CompilationTarget -> "C", "RuntimeOptions" -> "Speed"]; PJ[x45_] := { { JacobiSymbol[x45, Floor[Re[Px[Total[BCC[x45, 5]], 11]]]] + JacobiSymbol[x45, Floor[Re[Px[Total[BCC[x45, 11]], 5]]]], JacobiSymbol[x45, Floor[Re[Px[Total[BCC[x45, 5]], 11]]]] - JacobiSymbol[x45, Floor[Re[Px[Total[BCC[x45, 11]], 5]]]], JacobiSymbol[x45, Floor[Re[Px[x45, 7]]]] + JacobiSymbol[x45, Floor[Re[Px[x45, 5]]]], JacobiSymbol[x45, Floor[Re[Px[x45, 7]]]] - JacobiSymbol[x45, Floor[Re[Px[x45, 5]]]] }, { JacobiSymbol[x45 + 5, Floor[Re[Px[x45, 11]]]],... [ Continued ] |
Author: | highdimensionman [ Sat Feb 28, 2015 3:00 am ] |
Blog Subject: | Leading up to my stay in Hospital. |
In september I found some seemly statistical significance in a bit of Prime number analysis. In october the KKK got hacked by Anonymous. Also in early October I bought some marigold tea only to temporarly lose my sense of smell and get temporary marks on my hands from some poison in it from further reading it seems to have been hydrocloric acid poisoning. In late october I got a visit from a Jamacan boy calling himself AB who seemed to be doing stuff to me in the night with sharps. He claimed he was a vampire and thought he'd live a long time off blood (idiot). He said something about there being one man and by the end of the week I felt weak and drained and like the left hemisphere of my brain had been mangled with some other problems in the left also. It was then that I asked him to leave and some friends made sure he was gone. Later I got stronger and manged to rewire from the damage. By November I think The white house was claiming Russian hacking of the white house and the Silkroad went down. In december I was redaing much on theregister.com about how quickly passwords were getting cracked, how Tor had been taken over, how admins were missing their chrismas pint down the pub and how they were going to Australia or something. Also a QZ8501 went down This gets me very paranoid as I can far to easily draw my own name and date of birth from QZ8501. Early January I'm thinking about some aljezera women and suddenly It's like the spirit on men turns on me and women are starting to seem like they are the ones now with peace of mind. A few day's later I'm told by some crises team that I need to take an Aripirazole tablet and somehow over night this tablet doesn't act like Aripiprazole at all more like I'm feeling very low and very very bitter which is really odd for me. The next day a bunch of Mental health lot come round, I call them a buch of bitches and say look It was your lot who didn't want to give me the injection before why not just give me the injection. They decide they need to take me off to hospital. I end up half way accross the country in a place called Edith Carvell ward being feed food which makes me feel very low and bitter I work out that by avoiding saucy stuff and anything with flavour this doesn't happen. The I work out I can get fresher water from the water machine if I switch between cold and warm but that the water tastes odd if i don't. I recieve half a dozen injections before I settle and am oddly balding and have a swollen cut on my finger that doesnt seem to be healing like such things usually do with me. I notice that other patients have swollen cuts that are being treated with anti-biotics. After watching a news article about therapies that might be in dirt I decide to treat my baldness and wound with dirt. The swelling goes down and slowly my hair starts to grow back especially on my beard. After a week or so in the hospital I see a news report on how an NHS worker had got done for poisoning and killing patients and a few days later It seems as if the other patents are getting happier so I test the saucy food and low and behold the problem is gone. A worker at Edith Carbvell looses his job and later gets replaced with a chinese dude. Previously when using other peoples phones I was getting laods of interference when making calls unless I made the call under the mattress and moved the mattress a bit. Me I buy a new phone as my last one had yet to be returned to me from when I handed it in at reception when I came in. My phone is having trouble then I upgrade it to 4g from 3g and It works well outside in the smoking area where there is a funny smell every morning like the smell you get off farms when they have been sprayed. Anyway I wake up one morning and my over active sex drive has gone which is unusual for me as I have an overactive thyroid and what used to be an enlarged prostate a week later I push something odd back up and today My sex drive is normal not to low or as previously high. Later the... [ Continued ] |
Author: | highdimensionman [ Fri Feb 27, 2015 7:08 pm ] |
Blog Subject: | Where's my ARM64 Tablet |
ARM promised us the first range of ARM64 products by 2015 but nothing seems to be ready why not. Well you have to go back a good few years where AMD ran into production problems when they went down to 28nm this meant that now you still have AMD working with 28NM and Intel rocketting ahead at 14NM. Intel use an older wafer technology but have made many improvments like using Hafnium and introducing tri-gates. AMD thought their SOI wafer fab would get them further and got stuck at 28NM awaiting fin fet at lower NMs This all lead to ARM companies having to wait for 16NM fin fet technologies for their ARM64 products to be more viable as they've had no end of trouble with SOI 28NM So this all means that by early 2016 your ARM64 products will finally start to arrive and by 2017 should be abundant. By late 2016 early 2017 Intel plan to go down to 11NM will Intel manage it. Well they are still relient on old wafter technology so they might run into similar problems with Overheating and Quantum leakage down at 11 and below who knows Intel may have to as they've suggested start using fully depleted SOI. Will ARM go down further by say 2018 - 2019 If they use fully depleted SOI and better Nano wiring they should do ok they may not have to for 14nm but probably will by 11nm or below. So anyway don't worry by early next year ARM64 will more than lightly be the best thing since sliced bread. What might all this mean 11nm and below. Well this depends on progress in nanotechnology. The faster processor option. One senario is where they jump straight down to 5 nm and use tiny thermo optic pins at higher speed. In this case senario you could fit 2 small ARM64 cores on a tiny die and rev up the speed to about 8 - 12 GHz compensate for the low transistor count. + more speed for many calculations and the ability to use multiple pins on an optical grid, Long term production cost could be far lower than today. - less CPU complexity means a reduction in the instruction set meaning that many usful extensions would have to be reduced or excluded. Going this small might mean even excluding backwards compatability and using emulation instead for 32bit integer coding. Also intial R and D costs might be higher. The Layered processor option. Years ago intel produced a 2 layed Pentium example but the idea at the time was not very cost effective for a CPU like it is now for DRAM and Flash Memory. down at 11nm and below this option might be revisited. + you could have more cores even use small Cellular computing as opposed to the standard von nueman architecture. - you might suffer thermal issues which might leave your first chips only running at 1GHz or less and possibily higher long term production costs. The standard course option. Intel Chips havent gone up as much on the GHz as AMD have using SOI or Fully Depleted SOI finfet technology might get an 8nm chip close to 5.5 or 7 GHz on a chip with 28 cores. + More estabilish than the other 2 options, probably speed benefits in the short term at least compared to the pin option. - Pin technology can be spread accross an optical bus avoiding thermal issues, you can have as many cells on the standard tech as you can on the layed approach. So where are we heading in the 20's. My guess is that although cellular technologies are ready to make use of layered chips and although the standard CPU system is well estabilished the benefits eventually from precion engineering at a such a small scale on the pins will bare good fruit by at least 2025 if not before and the temtation to perfect such nano technology will tempt engineering down this path. However memory might lag behind but if you think all watson needed was a few gigs of data to play jepordy but masses of processing power this issue might not matter to much only with professional video and such even games could contain far more detail with less data given enough processing power. Overall in the short term its cheaper to have more slower cells than... [ Continued ] |
Author: | highdimensionman [ Fri Feb 27, 2015 5:33 pm ] |
Blog Subject: | A path towards a more EEE world. |
Energy Eficient and Ecological The Fossile Fuel Industry Oil Using night time Neuclear base electricity and North arfican ect solar power you could process and renew fuel more effciently even with the possiblity of closed circuit Hydro carbon generators where by you hand in your spent fuel and obtain renewed fuel. Thermally adaptive material based Veicles. Gas In Flat complexes you could collectivly pay for gas sharing the controlling heat as you want it. With the right Building Thermo mangement you could save masses of gas use plus new thermo clothing could help. Coal. Coal needs to be investigated for processing coal into Fertilisers. A two stage process might be handy where by you grow one crop as to turn that crop into fertiliser all from coal product.Coal Fertilisers if developed enough could be come cheaper than petrol fertilisers. The Electronics Industry Today in the the upper echelons of the world we expect High core counts, High performance gaming and fast access to the Internet and sometimes wish everyone could have this. Really we need to put the shoe on the other foot. OLED saves on power Using a single core + a littler core instead of multiple cores saves on energy. Working with lower bandwidths saves on energy. not using a battery also saves the ecology. So why might you want a 5.8" OLED Single core system that runs off a small amount solar and wind all working off low bandwidths. Well you could work with a regional data stream broadcast in order to work with an sms and encrypted sms system to place orders or buy stuff at the point of purchuse having found your best food option from the regional data stream. You could use a veriable block chain and user activity controlled crypto currency that harmonises with your national currency to purchuase things with or too get paid for work. Kind of like a crypto RAND ect. You could with lossy compression fit with in 2 GB on a 4-16GB SD a mini wikipedia uni in 70 languages or a national wikipedia mini and something like khan academy to learn how to do maths and understand science and a dictonary or 2. You could purchase apps and collect them up on the data stream broadcast. Sort of like a lower tier Internet designed for maximum rural coverage and functionality. National grid slitting meaning that the industrial sector and the Community sector both get a divided up portion of the Electrical output and can put back into also. This adaption could stop masses of work not getting done where a fixed electricity supply is necessary and watt fixing could allow many communities to work with more EEE technological sustainably. In the more powered up regions of the world Felt pads. National grid sensitive smart meters and devices to reduce fossile fule burning further. simply taking longer to boil less water in the kettle can make a difference. Mini server plugs. and Energy efficient internet swarmable EE deep calcs (say 2*16 core ARM64 + 4 mini kepler GPU setups in a small box with no screen output and no keyboard and mouse input just designed for task queing render tasks and other on demand internet swawing computes. An SMS watch that talks out your SMS and that you can dictate sms messages with including abbreviations and acronyms like lol and lmao with a new type of phone contract. 5G mini Masts where by you can better set an areas coverage up relative to demand saving a fortuine compared to bigger masts both interms of legal issues, production costs and energy efficiency. and for fun... Telescope drones - for collecting up a wide image of the night sky. Holographic Dome stelleriums up on the wall with connect based gesture control done with a few mini projectors and a specially refractive dome surface. Non electrical Easily flammable non wood product paper made with Safe flamable plastic and approprate bio waste for stuff needed writing down and later needed burning for confidentiality purposes in institutions like the NHS. Non wood based Cardboard... [ Continued ] |
All times are UTC | |
Powered by phpBB © 2002, 2006 phpBB Group www.phpbb.com |