World!Of
Numbers
HOME plate
WON |

EMBED
Sequence from Wonplate 197
rood Wonplate 197
rood comments


Sequence [k] in order of increasing appended digits
Each value < n in [k][1n] must be composite




PFGW64 from Primeform group and SCRIPTIFY

SCRIPT

: Patrick De Geest, 2016
: find value kk so that when at least nn ones are
: appended we get the first prime
: use commando    pfgw64 -f myscript1.txt

DIM kk, 0
DIM nn, 363
DIM mm, 0
DIMS tt

OPENFILEAPP eruit,won197out1dig1.txt

LABEL loopdg
SET kk, kk+1

PRP kk*10^nn+(10^nn-1)/9
IF ISPRP THEN GOTO jump
IF ISPRIME THEN GOTO jump

GOTO loopdg

LABEL jump

SETS tt, %d, %d\,; kk; nn

SET mm, 0

LABEL invest
SET mm, mm+1

PRP kk*10^mm+(10^mm-1)/9, tt
IF ISPRP THEN GOTO testmm
IF ISPRIME THEN GOTO testmm

GOTO invest

LABEL testmm
IF mm<nn THEN GOTO loopdg

WRITE eruit,tt

END
[1][11]
[2][12]
[16][13]
[36][14]
[5][15]
[29][16]
[73][17]
[17][18]
[14][19]
[100][110]
[165][111]
[197][112]
[396][113]
[185][114]
[299][115]
[111][116]
[11][117]
[59][118]
[522][119]
[314][120]
[275][121]
[177][122]
[308][123]
[139][124]
[1042][125]
[1299][126]
[1601][127]
[247][128]
[626][129]
[499][130]
[55][131]
[245][132]
[242][133]
[321][134]
[32][135]
[2036][136]
[1756][137]
[837][138]
[229][139]
[2506][140]
[1823][141]
[1402][142]
[1041][143]
[104][144]
[880][145]
[954][146]
[753][147]
[859][148]
[546][149]
[288][150]
[560][151]
[1354][152]
[2684][153]
[773][154]
[2178][155]
[1119][156]
[406][157]
[1515][158]
[1133][159]
[2300][160]
[3927][161]
[3840][162]
[2252][163]
[373][164]
[3621][165]
[362][166]
[220][167]
[2157][168]
[4034][169]
[2694][170]
[3168][171]
[1471][172]
[2607][173]
[818][174]
[4334][175]
[3516][176]
[1122][177]
[4451][178]
[11415][179]
[1739][180]
[1738][181]
[628][182]
[2772][183]
[6242][184]
[3069][185]
[1044][186]
[2177][187]
[595][188]
[6375][189]
[3191][190]
[403][191]
[6335][192]
[4235][193]
[3747][194]
[4092][195]
[3950][196]
[4950][197]
[10541][198]
[1054][199]
[1981][1100]
[198][1101]
[4423][1102]
[5706][1103]
[5268][1104]
[18887][1105]
[3939][1106]
[1584][1107]
[496][1108]
[14209][1109]
[3609][1110]
[2977][1111]
[3598][1112]
[2268][1113]
[7496][1114]
[1726][1115]
[5585][1116]
[7381][1117]
[738][1118]
[159][1119]
[2839][1120]
[3772][1121]
[4271][1122]
[5720][1123]
[793][1124]
[5700][1125]
[2773][1126]
[5214][1127]
[10418][1128]
[11812][1129]
[4800][1130]
[4520][1131]
[1684][1132]
[682][1133]
[1211][1134]
[121][1135]
[12][1136]
[429][1137]
[2369][1138]
[18997][1139]
[7679][1140]
[1664][1141]
[2938][1142]
[17061][1143]
[1706][1144]
[519][1145]
[8889][1146]
[1232][1147]
[871][1148]
[87][1149]
[5426][1150]
[22693][1151]
[4379][1152]
[7681][1153]
[18184][1154]
[1995][1155]
[9400][1156]
[8971][1157]
[1295][1158]
[4972][1159]
[7615][1160]
[825][1161]
[4814][1162]
[3735][1163]
[14840][1164]
[4268][1165]
[7042][1166]
[1694][1167]
[3743][1168]
[3849][1169]
[2934][1170]
[5950][1171]
[11436][1172]
[2013][1173]
[8339][1174]
[11572][1175]
[37074][1176]
[26983][1177]
[4432][1178]
[3071][1179]
[307][1180]
[1419][1181]
[7055][1182]
[5665][1183]
[18811][1184]
[1881][1185]
[188][1186]
[16132][1187]
[2778][1188]
[13637][1189]
[5427][1190]
[3740][1191]
[661][1192]
[54675][1193]
[7809][1194]
[20260][1195]
[5200][1196]
[15213][1197]
[13003][1198]
[17686][1199]
[5837][1200]
[1235][1201]
[10509][1202]
[14342][1203]
[2918][1204]
[1480][1205]
[2916][1206]
[1309][1207]
[6711][1208]
[671][1209]
[67][1210]
[23125][1211]
[12926][1212]
[52151][1213]
[5215][1214]
[3842][1215]
[2501][1216]
[250][1217]
[48750][1218]
[6127][1219]
[5365][1220]
[5324][1221]
[11617][1222]
[12174][1223]
[9659][1224]
[23231][1225]
[2323][1226]
[14058][1227]
[3785][1228]
[2145][1229]
[8526][1230]
[33005][1231]
[20698][1232]
[5598][1233]
[16451][1234]
[3102][1235]
[2058][1236]
[12434][1237]
[14134][1238]
[6897][1239]
[12596][1240]
[19017][1241]
[32627][1242]
[10768][1243]
[4674][1244]
[19584][1245]
[11243][1246]
[30817][1247]
[8471][1248]
[847][1249]
[35421][1250]
[3542][1251]
[5666][1252]
[16464][1253]
[90506][1254]
[19357][1255]
[39594][1256]
[10142][1257]
[14164][1258]
[15867][1259]
[11463][1260]
[16060][1261]
[28365][1262]
[12837][1263]
[3895][1264]
[1314][1265]
[8957][1266]
[13574][1267]
[8394][1268]
[25245][1269]
[33650][1270]
[24354][1271]
[20087][1272]
[15422][1273]
[17799][1274]
[13013][1275]
[22915][1276]
[49420][1277]
[31683][1278]
[3313][1279]
[3688][1280]
[26763][1281]
[12541][1282]
[35637][1283]

[7783][1292]

[51556][1303]

[3010][1313]

[2970][1323]

[25231][1333]
[2523][1334]

[2628][1343]

[21615][1353]

[49733][1363]

[11342][1366]

[643][1390]

[243][1478]

[664][1594]

[215][1653]

[133453][1666]

[232][1684]

[638][1753]

[451][1771]
[45][1772]

[320][1864]

[65484][11000]
[96063][11001]

[168223][11111]

[862][11221]

[973][11437]

[869][11569]

[482][11704]

[902][11931]

[453][11943]

[740][11955]
[289378][11956]

[235533][12000]

[267923][12015]
[34273][12016]
[49078][12017]

[995][12100]

[529][12778]

[133][12890]

[129889][13000]

[617][15760]

[561][118469]
[56][118470]

[2144039][120000]

[749][122850]

[708][137156]






To my worksheet
"appending 1s to n"



brown line
triangle tetra square cube circular palpri
brown line

[up TOP OF PAGE]


( © All rights reserved ) - Last modified : March 22, 2016.
Patrick De Geest - Belgium flag - Short Bio - Some Pictures
E-mail address : pdg@worldofnumbers.com