![]() |
|
|
#2036 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Quote:
|
|
|
|
|
|
|
#2037 |
|
Aug 2006
3×1,993 Posts |
|
|
|
|
|
|
#2038 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
nope vecsmall only stores it as integers by the looks of it but I can't get all of them to work.
|
|
|
|
|
|
#2039 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Quote:
|
|
|
|
|
|
|
#2040 | |
|
Aug 2006
3·1,993 Posts |
Quote:
Reread my post. |
|
|
|
|
|
|
#2041 | ||
|
Mar 2006
Germany
22·727 Posts |
Quote:
Code:
s=concat(s,Strchr(sup[n]-=32)) Code:
*** _-=_: bug in PARI/GP (Segmentation Fault), please report But the code Code:
s=concat(s,Strchr(sup[n]=sup[n]-32)) |
||
|
|
|
|
|
#2042 | |
|
Aug 2006
597910 Posts |
Quote:
Regardless, you don't need to do that here; you can just do Code:
StrToUp(str)={
my(sup=Vecsmall(str),s="");
for(n=1,#sup,
if(sup[n]>=97 && sup[n]<=122,
s=concat(s,Strchr(sup[n]-32))
,
s=concat(s,Strchr(sup[n]))
)
);
s
};
|
|
|
|
|
|
|
#2043 |
|
May 2010
Prime hunting commission.
168010 Posts |
It's been somewhat difficult to find a factor for sigma(4477204945765526980349352291678647292170001931988428673↑2), or 20045364126387295389488107373344241624560499868937574184788150529738565510740963223091652652278528299596969603.
So far, I've found no factors ≤ 30 digits. Last fiddled with by 3.14159 on 2010-12-08 at 02:47 |
|
|
|
|
|
#2044 |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
anyone want to see the encoding I made to show for 40 questions I don't think it will hurt it too much lol.
Code:
coding(string) = a=Vecsmall(string);for(y=1,#a,vecsort(a);for(x=1,#a,a[x]=a[x]+x));for(z=1,#a,if(z%2==0,print1(Strchr(a[z]%256)),print1(a[z])));print1("\n"string)
|
|
|
|
|
|
#2045 |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
I got this recently lol :
Code:
(21:17)>coding(string) = a=Vecsmall(string);vecsort(a);for(x=1,#a,a[x]+=x)
%32 = (string)->a=Vecsmall(string);vecsort(a);for(x=1,#a,a[x]+=x)
(21:17)>coding("string")
*** _+=_: bug in PARI/GP (Segmentation Fault), please report
|
|
|
|
|
|
#2046 | |
|
Aug 2006
3×1,993 Posts |
Quote:
|
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why do I sometimes see all the <> formatting commands when I quote or edit? | cheesehead | Forum Feedback | 3 | 2013-05-25 12:56 |
| Passing commands to PARI on Windows | James Heinrich | Software | 2 | 2012-05-13 19:19 |
| Ubiquity commands | Mini-Geek | Aliquot Sequences | 1 | 2009-09-22 19:33 |
| 64-bit Pari? | CRGreathouse | Software | 2 | 2009-03-13 04:22 |
| Are these commands correct? | jasong | Linux | 2 | 2007-10-18 23:40 |