World!Of Numbers |
![]() ![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ May 20, 2023 ] [ While WONplate 197 is appending digits to the RIGHT of a number,
Here are the record k-values for each case in base 10.
( '^^' is symbol for concatenation )
Also when numbers get larger I will accept PRP (PRobable Prime)
Click on the header titles to open the related worksheets from Xinyao Chen.
\\ This is the PARI/GP program code for WONplate 224 by PDG [June 2, 2023] \\ ie. making sequence [k] in order of increasing prepended digits d's. \\ Each value < n in [d^^n][k] must be composite. { d=7; for(a=1, 100, b=1; until(flag==0, f=(d*(10^a-1)/9)*10^(#(digits(b)))+b; while(ispseudoprime(f)==0, b+=2; f=(d*(10^a-1)/9)*10^(#(digits(b)))+b; ); \\ print(f); print(a," ",b); ad=0; flag=0; for(i=1, a-1, ad++; fd=(d*(10^ad-1)/9)*10^(#(digits(b)))+b; if(ispseudoprime(fd), flag++; break(); ); ); b+=2; ); print("[",d,"^^",a,"][",b-2,"]"); b=1; ) } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
[ TOP OF PAGE]