Recent computations: part 6

% zsh --version

zsh 5.6 (x86_64-suse-linux-gnu)

% nproc

12

% inxi -S

System: Host: localhost.localdomain Kernel: 5.3.18-lp152.78-default x86_64 bits: 64 Desktop: IceWM 1.4.2 Distro: openSUSE Leap 15.2

% more dio4444.cpp

#include<stdio.h>

#include<math.h>

int main(void)

{long long int a;for(int b=1;b<550;b++){a=pow(b,4);

long long int c;for(int d=b;d<550;d++){if(d!=b) c=pow(d,4);

long long int e;e=a+c;

long long int f;for(int g=1;g<b;g++){f=pow(g,4);

long long int h;for(int i=1;i<550;i++){h=pow(i,4);

long long int j;j=f+h;if(e==j)

printf("%lld = %d^4 + %d^4 = %d^4 + %d^4\n",j,b,d,g,i);}}}}}

% clang++ --version

clang version 9.0.1

Target: x86_64-unknown-linux-gnu

Thread model: posix

InstalledDir: /usr/bin

% clang++ dio4444.cpp;time ./a.out

zsh: correct ‘./a.out’ to ‘./da.out’ [nyae]? n

635318657 = 133^4 + 134^4 = 59^4 + 158^4

3262811042 = 157^4 + 227^4 = 7^4 + 239^4

8657437697 = 256^4 + 257^4 = 193^4 + 292^4

10165098512 = 266^4 + 268^4 = 118^4 + 316^4

68899596497 = 298^4 + 497^4 = 271^4 + 502^4

52204976672 = 314^4 + 454^4 = 14^4 + 478^4

86409838577 = 359^4 + 514^4 = 103^4 + 542^4

51460811217 = 399^4 + 402^4 = 177^4 + 474^4

./a.out 506.78s user 0.00s system 99% cpu 8:26.82 total