[2, 3, 5, 7, 11, 13] randFromArray([4,6,8,9,10,12,14,15,16,18,20,21,22,24,25,26,27,28,30,32,33,35,36,39,40,42,44,45,48,49,50,52,54,55,56,60,63,65,66,70,72,75,77,78,80,81,84,88,90,91,96,98,99]) getPrimeFactorization(NUMBER) _.reduce(FACTORIZATION,function(e,t){return e[t]=e[t]+1||1,e},{}) _.reduce(_.values(EXPONENTS),function(e,t){return e||1!==t},!1) _.map(EXPONENTS,function(e,t){return cardinalThrough20(e)+" <code>"+t+"</code>"+(1===e?"":"s")}) _.reduce(PRIMES,function(e,r){return EXPONENTS[r]>1?e.push(r+"^"+EXPONENTS[r]):1===EXPONENTS[r]&&e.push(r),e},[]).join("\\cdot") _.map(FACTORIZATION,function(e,r){var t=NUMBER;return _.each(FACTORIZATION.slice(0,r),function(e){t/=e}),t}) null

Encuentra la factorización en primos de NUMBER.

Usa las flechas para cambiar el exponente en cada número primo para ver si puedes encontrar su factorización en primos.

GRAPHIE=graph,init({range:[[0,10],[-11,0]]}),addMouseLayer(),graph.primes=[],graph.computeTotal=function(){return _.reduce(PRIMES,function(e,r){return e*pow(r,graph.primes[r].exponent)},1)},graph.totalLabel=label([7,-10],1,"right",{fontSize:25}),graph.updateTotal=function(){this.totalLabel.remove(),this.totalLabel=label([7,-10],graph.computeTotal(),"right",{fontSize:25});var e=_.reduce(PRIMES,function(e,r){return graph.primes[r].exponent>1?e.push(r+"^"+graph.primes[r].exponent):1===graph.primes[r].exponent&&e.push(r),e},[]).join("\\cdot");e+=" = "+graph.computeTotal(),KhanUtil.processMath($("#answer-preview code")[0],e,!0)},_.each(PRIMES,function(e,r){var t=1.5*-r-1;graph.primes[e]={exponent:0,baseLabel:label([2,t],e,"left",{fontSize:25,color:"#aaa"}),expLabel:label([2,t+.3],0,"center",{fontSize:20,color:"#aaa"}),expandLabel:label([3,t],1,"right",{fontSize:20,color:"#aaa"}),factorLabel:label([7,t],1,"right",{fontSize:25,color:"#aaa"}),upArrow:addArrowWidget({coord:[2,t+.7],direction:"up"}),downArrow:addArrowWidget({coord:[2,t-.1],direction:"down"}),update:function(){this.expLabel.remove(),this.expandLabel.remove(),this.factorLabel.remove(),this.expLabel=label([2,t+.3],this.exponent,"center",{fontSize:20}),this.factorLabel=label([7,t],pow(e,this.exponent),"right",{fontSize:25}),0===this.exponent?(this.baseLabel.css({color:"#aaa"}),this.expLabel.css({color:"#aaa"}),this.expandLabel=label([3,t],"1","right",{fontSize:20,color:"#aaa"}),this.factorLabel.css({color:"#aaa"})):(this.baseLabel.css({color:"black"}),this.expandLabel=label([3,t],getPrimeFactorization(pow(e,this.exponent)).join("\\cdot"),"right",{fontSize:20})),this.exponent>=5||e>=11&&this.exponent>=3?this.upArrow.hide():this.upArrow.show(),this.exponent<=0?this.downArrow.hide():this.downArrow.show()}},graph.primes[e].upArrow.onClick=function(){graph.primes[e].exponent+=1,graph.primes[e].update(),graph.updateTotal()},graph.primes[e].downArrow.onClick=function(){graph.primes[e].exponent-=1,graph.primes[e].update(),graph.updateTotal()},label([2.5,t],"=","right",{color:"#ccc"}),label([6.5,t],"=","right",{color:"#ccc"}),graph.primes[e].downArrow.hide()}),line([0,-9.25],[8,-9.25]),label([0,-9],"\\times","above right",{fontSize:25})

Haz clic en las flechas naranjas para cambiar tu respuesta.

=1

GRAPHIE.computeTotal()
return 1===guess?"":guess===NUMBER
_.each(PRIMES,function(e){GRAPHIE.primes[e].exponent=0}),_.each(getPrimeFactorization(guess),function(e){GRAPHIE.primes[e].exponent+=1}),_.each(PRIMES,function(e){GRAPHIE.primes[e].update()}),GRAPHIE.updateTotal()
_.each(PRIMES,function(e){GRAPHIE.primes[e].exponent=0}),_.each(getPrimeFactorization(guess),function(e){GRAPHIE.primes[e].exponent+=1}),GRAPHIE.updateTotal()
graph.cx=0,graph.y=0,graph.curr=NUMBER,init({range:[[-1,FACTORIZATION.length+1],[-2*FACTORIZATION.length-.5,1]],scale:[30,30]}),label([graph.cx+1,graph.y],graph.curr)

Podemos utilizar un árbol de factores para descomponer el NUMBER en sus factores primos. ¿Cuál de los números primos divide al NUMBER?

path([[graph.cx+1,graph.y-.5],[graph.cx,graph.y-1.5]]),path([[graph.cx+1,graph.y-.5],[graph.cx+2,graph.y-1.5]]),graph.y-=2,graph.cx+=1,graph.curr=graph.curr/FACTOR,label([graph.cx-1,graph.y],FACTOR,{color:BLUE}),circle([graph.cx-1,graph.y],.5),graph.lastLabel=label([graph.cx+1,graph.y],graph.curr)

REMAINING[I] es divisible entre FACTOR, dejándonos con REMAINING[I] / FACTOR.

circle([graph.cx+1,graph.y],.5),graph.lastLabel.remove(),label([graph.cx+1,graph.y],graph.curr,{color:BLUE})

FACTORIZATION[FACTORIZATION.length-1] es primo, así que ya terminamos de factorizar.

La factorización en primos de NUMBER es:

\qquadFACTORIZATION.join("\\space\\color{black}{\\cdot}\\space")

Como hay toSentence(EXPONENT_HINT), podemos usar exponentes para escribir la factorización en primos como:

Como hay toSentence(EXPONENT_HINT), podemos usar exponentes para escribir su factorización en primos como:

\qquad\blue{SOLUTION} = NUMBER