Kaelygon

joined 2 years ago
3
[deleted] (europe.pub)
submitted 2 weeks ago* (last edited 2 weeks ago) by Kaelygon@lemmy.world to c/math@lemmy.world
 

[deleted]

[–] Kaelygon@lemmy.world 6 points 4 weeks ago

Thank you! After the flag I was thinking I'd leave it at simple shading, but then I decided to do do some muscle anatomy learning. Shading is my fav part of drawing, it adds so much depth

[–] Kaelygon@lemmy.world 4 points 2 months ago

phew, I dodged this one. My logo is just a purple dragon with no suit

 

e621 is furry adult art website but I will focus only in the statistics and data side of things. I hope that the comments stay civil as well.

I saw a video about Pokemon Smash or Pass statistics and I was curious about how e621 trends reflect that.

Here's every Pokemon tag count for further research: pastebin.com/pSDy8HRp

Here's how it compares to the graphic which data is obtained from pokesmash.xyz
The video goes more into the details of that data.

Here I only parsed the tag counts but e621 provides more data dumps and has API wiki page in case someone else fancies to do more research about this.

 

I really hoped Matt Parker would have shown how to construct these divisibility rules, so I came up with my own method. Find prime P and natural number N such that P*N = a *10^b + c
The smaller a and c are, the better. b determines where you split the number.

Example: P=313 N=16 a=5 b=3 c=8

313*16=5008  
313*16=5 *10^3 + 8  

Now we can test for 223795=313*13*11*5
Split 223795 after the b:th number, 3rd in this case.
223795/10^3=223.795 decimal point separates the components A, B

Multiply the A=223 by c and subtract from the rest B=795 multiplied by a

B*a-A*c=  
795*5-223*8=2191  

Repeat if needed till you get to small enough number.

2191/10^3=2.191  
191*5-2*8=939  

which is easy to see that's 3*313
Some bad combinations don't reduce the starting number but they are at least always divisible by P. Those cases could be called Parker divisibility rules.

You can also see that when c is negative, A*c is added rather than subtracted, which explains why some method add or subtract like Vsauce vs James.
This is just a funny trick to simulate division and modulus by 10^b to get smaller number, while preserving the congruence.

It's possible I made mistake somewhere, but was able to get correct answers with other few examples.

 

I converted my speculative species into a thematically fitting normal/poison Pokemon.

Venom Bite is the only custom move.
Physical, poison, 120 power, 70% accuracy and 30% chance to poison the target.
It's supposed to be poison variant of the Gen 2 Thunder.

No actual rom hack was done. This was a cheeky video edit, but all of the stats, sprite and flavor texts are within the original game constraints. Gen 2 Pokemon have 10 character limit so "Maned dragon" had to be abbreviated.

I scaled the IVs and EVs referring to my L73 Vaporeon, so every stat should be plausible and moves in the video is what Manedragon would have in wild.
They're not optimized for anything.


PokeDex:

No. ???
Manedragon
Venomous
Type / Normal Poison
HT 3'11"
WT 99.2lb

Stat Value
HP 85
Attack 110
Defense 70
Special Attack 80
Special Defense 85
Speed 105
Total 535

Flavor texts:
Silver

It prefers to hunt
alone and is ready
to strike with its
venom. Yet it
forms unique bonds
with its own kind.

Gold:

Its venomous bite
can defeat larger
prey than itself.
Despite its name
and looks it's not
a true dragon.

Rest of the Manedragon movepool, stats and details

Based on speculative species Maned dragon

Cry editor Github

56x56 Sprite

 

I have been exploring this particular prime 13238717 which is sum of two squares and has Pythagorean triple.
I found this interesting property and so far I haven't found any texts about what I wrote below.

This is just my conjecture, I have no formal proof and I have only tested few small primes.
I haven't found any counter examples yet, but I have checked only few dozen primes and couple composites by hand.

I modified ChatGPT script which lists numbers that have both forms P^2=a^2+b^2 and P=c^2+d^2 and it appears to generate the exact same sequence as: A004431
5 10 13 17 20 25 26 29 34 37 40 41 45 50...

Numbers P seem to always have both following forms Hypotenuse numbers (Pythagorean triples) A009003: P^2=a^2+b^2
Numbers that are the sum of 2 squares A001481: P=c^2+d^2

Wolfram notes, "-- one side of every Pythagorean triple is divisible by 3, another by 4, and another by 5."
I noticed if P is prime and have both forms: one of the Pythagorean sides (a or b) whichever is divisible by 4 has the exact factors that construct both of the square sum components 'c' and 'd', with the exception of extra factor '2'.

Here's the conjecture put out more formally based solely on my observations:
Pythagorean sides: a,b and square sum componentsc,d are natural numbers and n#, m# are prime factors.

a^2 + b^2 = P^2 (pyth. triple)  
c^2 + d^2 = P (sum of two squares) 

(a or b) mod 4 = 0
(a or b) factors are = 2* (n1*n2*n3...) * (m1*m2*m3...)
c = n1*n2*n3...
d = m1*m2*m3...
(a or b) = 2*(c*d)

Here's couple examples:
primes 2 and 5 are trivial exceptions as 1 isn't a prime factor.

1^2+2^2=5  
1^2+1^2=2

Prime: 13 (first non-trivial prime case)

5^2 + 12^2 = 13^2 (pyth. triple) 
2^2 + 3^2 = 13 (sum of two squares)  

12 factors are 2 2 3
12 mod 4 = 0
c=2
d=3
12 = 2* (2*3)

Prime: 821

429^2 + 700^2 = 821^2 (pyth. triple)  
14^2 + 25^2 = 821 (sum of two squares)  
  
700 mod 4 = 0
700 factors are 2 (5 5) (2 7)
c = 5*5 = 25
d = 2*7 = 14
700 = 2* (25*14)

prime: 13238717

1315508^2 + 13173195^2 = 13238717^2 (pyth. triple)
181^2 + 3634^2 = 13238717 (sum of two squares)  
  
1315508 mod 4 = 0
1315508 factors are 2 (2 23 79) (181)
c=181
d=2*23*79=3634
1315508 = 2* (181*3634)

Some composites have multiple ways to write sum of two squares, which each have different (a or b) counterpart, but not necessarily divisible by 4. composite: 260

(four valid pythagorean side pairs)  
132^2+224^2 = 64^2+252^2 = 100^2+240^2 = 156^2+208^2 = 260^2 
(two valid square sums)
8^2+14^2 = 2^2+16^2 = 260

8^2+14^2:
224 mod 4 = 0
224 factors 2 (2 2 2) (2 7)
c= 2*2*2 = 8
d= 2*7 = 14
224/(8*14) = 2
  
2^2+16^2:
64 mod 4 = 0
64 factors 2 (2) (2 2 2 2)
c = 2
d = 2^4 = 16
64 = 2* (2*16)

composite: 58

40^2+42^2=58^2 (pyth. triple)  
3^2+7^2=58  (sum of two squares) 

42 mod 4 = 2 
Not 0 mod 4 congruent, unlike primes. 
Might be result of both c, d being odd.
42 factors 2 3 7
c=3
d=7
58 = 2* (3*7)

Generally it seems that there's always at least one Pythagorean component where (a or b) = c*d*2, but I haven't quite figured why this is the case.

I reckon it has something to do with the fact that mod 4 congruence of 4k+1 doesn't change when you square it: (4k+1)^2 = 8k*(2k+1)+1
Additionally the fact that when sum of two squares is prime or odd, exactly one of the components is always odd, which may explain why (a or b) isn't always divisible by 4 with composites.

ChatGPT wrote a counterexample finder I checked up to 100 000.

To my knowledge there isn't straight up equation that would spit out a Pythagorean triple or sum of square solutions for any integer.
There might be some other way to prove or disprove that a or b = c*d*2 when P is prime, but so far I couldn't think of any.
It might be something obvious that I am missing, or it's simply all about congruence rules of additions and multiplications.

Again, this is just what I've found from my few tests and I don't have any formal proof. I couldn't find any papers or posts specifically about this. This is nothing too important, but I found it interesting enough to share.
I just write bad python code out of interest in number theory without an university degree.


Thanks for the solution goes to: @0v0
Here's summary how I understood this:
Brahmagupta–Fibonacci identity

P=c²+d²
Squaring 'P' results in:
P²=(c²-d²)² + (2cd)²

These 'P²' sum components are equivalent to the Pythagorean legs 'a' and 'b':
a=c²-d²
b=2*c*d

Hence, '(a or b)' always contains the factors '2' and all factors of 'c' and 'd'. 

Additionally, the 2*c*d divisibility by 4 is result of P being odd.
2*c*d being divisible by 4 is true for any odd number as one of the sum of square components 'c' or 'd' must be even.

c=2*k
b = 2*c*d = 4*k*d
 

Steps to reproduce:

  1. Be logged out
  2. Search Communities
  3. Paste the full community link to search -> No results.
  4. Login
  5. Two results appear and if you edit the text field, a duplicate result shows up each key press.
 

I made this blender render quite a while ago for a drawing reference.

I generated multiple frames with large pixel grain, applied few color curve filters every few frame in krita.

Made those frames into a mp4 and xor:ed random bytes of the binary file using a c++ program.

Few clean up cuts in openshot-qt and made it into a gif with ffmpeg

 

Clip from Stand-up Maths video https://youtu.be/pgyI8aPctaI?t=75

 

Hello! This is my first post here, I am testing reddit alternatives. I mostly do furry 3D models and occasional doodles like this

For some reason adding image using "Browse..." didn't create thumbnail for the post. So I deleted earlier one and now reposted this.