Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Views: 715
%md $3756801695685\cdot 2^{666669} \pm 1$

37568016956852666669±13756801695685\cdot 2^{666669} \pm 1

%time n = 3756801695685* 2^666669
CPU time: 0.00 s, Wall time: 0.00 s
%time p=n+1 %time q=n-1
CPU time: 0.00 s, Wall time: 0.00 s CPU time: 0.00 s, Wall time: 0.00 s
p.ndigits()
200700
q.ndigits()
200700
%time s=str(p)
CPU time: 0.06 s, Wall time: 0.06 s
len(s)
200700
s[:100]
'8729665078730328091314557268734156473613950185152950602049843728208034325946918787329158266064027861'
%time a = Mod(2,p)
CPU time: 0.00 s, Wall time: 0.00 s
%time a^(p-1)
Error in lines 1-1 Traceback (most recent call last): File "/projects/54949eee-57da-4bd7-bb43-c2602b429f9a/.sagemathcloud/sage_server.py", line 879, in execute exec compile(block+'\n', '', 'single') in namespace, locals File "", line 1, in <module> File "sage/rings/finite_rings/integer_mod.pyx", line 2094, in sage.rings.finite_rings.integer_mod.IntegerMod_gmp.__pow__ (build/cythonized/sage/rings/finite_rings/integer_mod.c:23252) sig_on() File "sage/ext/interrupt.pyx", line 71, in sage.ext.interrupt.sig_raise_exception (build/cythonized/sage/ext/interrupt.c:808) raise KeyboardInterrupt KeyboardInterrupt
CPU time: 25.76 s, Wall time: 26.02 s