<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3219117272340648003</id><updated>2026-10-30T18:12:00.119+01:00</updated><category term="Curiosidades"/><category term="Aritmética"/><category term="Divisibilidad"/><category term="Teoría"/><category term="números"/><category term="Algoritmos"/><category term="Números primos"/><category term="Números figurados"/><category term="Exploraciones"/><category term="Sucesiones"/><category term="Hoja de cálculo"/><category term="Búsquedas"/><category term="Combinatoria"/><category term="Propiedades"/><category term="Cifras"/><category term="Funciones"/><category term="Dando vueltas"/><category term="Estudios"/><category term="cálculo"/><category term="Sumas"/><category term="Conjeturas"/><category term="Propuestas"/><category term="Ternas pitagóricas"/><category term="Particiones"/><category term="Congruencias"/><category term="Recurrencias"/><category term="Regresos"/><category term="Números AROLMAR"/><category term="Orden"/><category term="Cartesius"/><category term="Estadística"/><category term="Semiprimos"/><category term="Simulaciones"/><category term="Cubos"/><category term="Aula"/><category term="Cuestiones diofánticas"/><category term="Funciones OpenOffice"/><category term="Potencias"/><category term="Progresiones"/><category term="Distribuciones"/><category term="Ecuaciones"/><category term="Funciones generatrices"/><category term="Iteraciones"/><category term="Cuadrados"/><category term="Ideas"/><category term="Restos"/><category term="Equivalencias"/><category term="Prgramación"/><category term="Tipos de números"/><category term="Dígitos"/><category term="Factores"/><category term="Múltiplos"/><category term="Sistemas de numeración"/><category term="Sumas de cuadrados"/><category term="conjuntos"/><category term="presentación"/><category term="webquest"/><category term="Aviso"/><category term="Civilización"/><category term="Formas cuadráticas"/><category term="Fracciones"/><category term="Fórmulas"/><category term="Interpolación"/><category term="Juegos"/><category term="Números en Combinatoria"/><category term="OEIS"/><category term="Palíndromos"/><category term="Soluciones"/><category term="Ver y calcular"/><title type='text'>Números y hoja de cálculo</title><subtitle type='html'>Este blog es un complemento natural de mi página http://www.hojamat.es. Por ello, se dedicará a los temas numéricos tratados con Hoja de Cálculo y a la estructura y prestaciones de esta. Su nivel será elemental o medio, y su orientación lúdica e investigadora.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>494</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-6004845095650850842</id><published>2026-10-30T18:12:00.000+01:00</published><updated>2026-10-30T18:12:00.115+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Combinatoria"/><category scheme="http://www.blogger.com/atom/ns#" term="números"/><category scheme="http://www.blogger.com/atom/ns#" term="Propiedades"/><category scheme="http://www.blogger.com/atom/ns#" term="Sucesiones"/><title type='text'>La hoja de cálculo y los números de Catalan</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;Últimamente estoy volviendo a la Combinatoria, que tenía
algo abandonada. Hoy es el turno de dar un repaso a los números de Catalan (&lt;/span&gt;&lt;span style=&quot;color: #222222; line-height: 120%;&quot;&gt;Obtienen su nombre del matemático &lt;/span&gt;&lt;a href=&quot;https://es.wikipedia.org/wiki/Eug%C3%A8ne_Charles_Catalan&quot; title=&quot;Eugène Charles Catalan&quot;&gt;&lt;span style=&quot;color: #0b0080; line-height: 120%;&quot;&gt;Eugène Charles Catalan&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #222222; line-height: 120%;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1, 2, 5, 14, 42, 132, 429, 1430, 4862, 16796, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://oeis.org/A000108&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;http://oeis.org/A000108&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Estos números se suelen introducir mediante las
triangulaciones de polígonos, según puedes comprobar con esta imagen tomada de
la Wolfram MathWorld:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-outline-level: 1;&quot;&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: black; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdD41eFaXXRxsldXyiMvXo1wrk-CWT0dn2K2E3GwEIvOhIKP_3-L8jWY9ESDX27Bjqj3Eoyo4d4o1tb0LGWwrv311ycj1NIRCTzMpxR5h_XIhxBXb06Kkn6HubC8zbfVJAB_Pe2Skogm59LJZ5v9HRgplcQQSw83msGEouXTxZ11pNj0jnx72r3LukLuk/s327/cata1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;233&quot; data-original-width=&quot;327&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdD41eFaXXRxsldXyiMvXo1wrk-CWT0dn2K2E3GwEIvOhIKP_3-L8jWY9ESDX27Bjqj3Eoyo4d4o1tb0LGWwrv311ycj1NIRCTzMpxR5h_XIhxBXb06Kkn6HubC8zbfVJAB_Pe2Skogm59LJZ5v9HRgplcQQSw83msGEouXTxZ11pNj0jnx72r3LukLuk/s1600/cata1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-outline-level: 1; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_i1029&quot; style=&quot;height: 175pt; mso-wrap-style: square; visibility: visible; width: 245.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;(Fuente:&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt; &lt;/span&gt;&lt;a href=&quot;http://mathworld.wolfram.com/CatalanNumber.html&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;http://mathworld.wolfram.com/CatalanNumber.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A la vista de la figura, y de la definición, se
comprende que un triángulo solo se puede triangular de una forma, con lo que
C(1)=1. Un cuadrilátero, según vemos, en dos, que son las diagonales, por lo
que C(2)=2.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;El pentágono se triangula según sus cinco vértices, lo
que hace que C(3)=5. También puedes comprobar que C(4)=14 para el hexágono.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Así podríamos seguir.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Estos números son muy conocidos, y aquí sería inútil
añadir más teoría. Por eso, nos dedicaremos solo al uso de la hoja de cálculo
para calcularlos.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Para conocer mejor estos números puedes consultar:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=kjn9hFQK9aQ&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://www.youtube.com/watch?v=kjn9hFQK9aQ&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;(vídeo de Eduardo Sáenz de Cabezón)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://es.wikipedia.org/wiki/N%C3%BAmeros_de_Catalan&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://es.wikipedia.org/wiki/N%C3%BAmeros_de_Catalan&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://www.gaussianos.com/los-numeros-de-catalan/&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://www.gaussianos.com/los-numeros-de-catalan/&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;http://mathworld.wolfram.com/CatalanNumber.html&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;http://mathworld.wolfram.com/CatalanNumber.html&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;MsoHyperlink&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://brilliant.org/wiki/catalan-numbers/&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://brilliant.org/wiki/catalan-numbers/&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;http://mathforum.org/advanced/robertd/catalan.html&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;http://mathforum.org/advanced/robertd/catalan.html&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;MsoHyperlink&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En ellas y otras similares puedes encontrar
propiedades y demostraciones. Como no es cuestión de repetir lo que en otras
fuentes se explica mejor, daremos por supuestas las propiedades en lo que sigue
y nos dedicaremos a plantear cálculos y cuestiones con Excel solamente, pues el
programa Calc de LibreOffice también los lee, incluidas las macros más populares:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: inherit;&quot;&gt;Fórmula directa&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En esas páginas enlazadas figura la fórmula directa
para calcular el enésimo número de Catalan.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En las hojas de cálculo dispones de la función
COMBINAT para los números combinatorios C(m,n), FACT para el factorial n! y
FACT.DOBLE para el doble factorial n!!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-outline-level: 1;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF6lkU5Kn6RrDVZ7QmxmTSmygxWxXQ_Tepa2Q8TChBY35mAzPbsmsweOs3j-Yo7UThpFa5huYdqFyOiA67C2ONDjF93OAcem4DioaxkBmwQch4BkRf6Ajebxf8HNqt2mx7SLQAEq5f5TOhhUUNKa03JF9dvom-AVhLeN8JBrsCjD2SfvCkJJmRjUUq_hU/s384/cata2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;86&quot; data-original-width=&quot;384&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF6lkU5Kn6RrDVZ7QmxmTSmygxWxXQ_Tepa2Q8TChBY35mAzPbsmsweOs3j-Yo7UThpFa5huYdqFyOiA67C2ONDjF93OAcem4DioaxkBmwQch4BkRf6Ajebxf8HNqt2mx7SLQAEq5f5TOhhUUNKa03JF9dvom-AVhLeN8JBrsCjD2SfvCkJJmRjUUq_hU/s1600/cata2.png&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;br /&gt;Con ellas podemos comprobar las tres fórmulas directas
anteriores. &lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;Quedarían así:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-outline-level: 1;&quot;&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;=COMBINAT(2*N;N)/(N+1)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;=FACT(2*N)/FACT(N+1)/FACT(N)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;=2^N*FACT.DOBLE(2*N-1)/FACT(N+1)&lt;/span&gt;&lt;/div&gt;&lt;/b&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Lo comprobamos con tres columnas paralelas en una
tabla:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcRzWrlF5A3Upuz9EE3jGiVvmaU7tBYMt3fjq-IpRSAxLnRZOZG4ZcR82AON0IuqU7_saUgBvj_UOCS-Nvmp4D1_OsRQZsd5zAmN7IMbwhRhAzQG3kj06oI077lp5359_T4RGmeZoHXP2YRnSm9QQSzq2oqaGd29KBlRp7fnf_2eEn230V2g6XZfPoR80/s334/cata3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;315&quot; data-original-width=&quot;334&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcRzWrlF5A3Upuz9EE3jGiVvmaU7tBYMt3fjq-IpRSAxLnRZOZG4ZcR82AON0IuqU7_saUgBvj_UOCS-Nvmp4D1_OsRQZsd5zAmN7IMbwhRhAzQG3kj06oI077lp5359_T4RGmeZoHXP2YRnSm9QQSzq2oqaGd29KBlRp7fnf_2eEn230V2g6XZfPoR80/s1600/cata3.png&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Aprenderás bastante del manejo de las hojas de cálculo
con la construcción de esta tabla. Con ella comprobamos la equivalencia de las
tres fórmulas. Si sabes añadir funciones a Excel, puedes definir una función
con una de estas tres fórmulas. Elegimos la segunda, que solo usa la función
FACT. Te sorprenderá su extensión, pero es que contiene tres llamadas a las
funciones de Excel:&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: left;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Function catalan(n)&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: left;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;catalan =
Application.WorksheetFunction.Fact(2 * n) /
Application.WorksheetFunction.Fact(n) / Application.WorksheetFunction.Fact(n +
1)&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End Function&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En la entrada de este blog enlazada a continuación
puedes recordar el procedimiento para disponer de esta función en el Excel de
tu ordenador:&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2013/09/tus-funciones-disponibles-en-todas-las.html&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;https://hojaynumeros.blogspot.com/2013/09/tus-funciones-disponibles-en-todas-las.html&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Así, si escribes =CATALAN(8) te devolverá 1430.
Igualmente, puedes escribir operaciones con números de Catalan, como, por
ejemplo, la diferencia entre dos consecutivos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;CATALAN(20)-CATALAN(19)&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;4796857230&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si deseas practicar un poco más con la hoja de
cálculo, puedes comprobar o construir la función CATALAN con esta otra
expresión:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;blockquote style=&quot;border: none; margin: 0 0 0 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0 0 0 40px; padding: 0px;&quot;&gt;&lt;blockquote style=&quot;border: none; margin: 0 0 0 40px; padding: 0px;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiaNBJFGx1LYPR6ORWQBeEzGsSMPeQMjtyfi3nyGjPf8GRweHPfvCXx4az73pTY_ZgFxqGXm_YCBbMXF7n54HXICZPBoSRCDX0s6dziYJ3JqCT7NDOx8bEvDMImIU9MFglGz1eVIVnPFAZa6Qb9-ye0K0fsJ3MnrSIz3aZd-NtzuADF6u3vYRutsXVSTI/s195/cata4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;78&quot; data-original-width=&quot;195&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiaNBJFGx1LYPR6ORWQBeEzGsSMPeQMjtyfi3nyGjPf8GRweHPfvCXx4az73pTY_ZgFxqGXm_YCBbMXF7n54HXICZPBoSRCDX0s6dziYJ3JqCT7NDOx8bEvDMImIU9MFglGz1eVIVnPFAZa6Qb9-ye0K0fsJ3MnrSIz3aZd-NtzuADF6u3vYRutsXVSTI/s1600/cata4.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Por ejemplo, 132=COMBINAT(12;6)-COMBINAT(12;5)&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Otras expresiones de los
números de Catalan&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Mediante un
producto:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;Desde el segundo número de Catalan, siguiendo las
propiedades contenidas en &lt;/span&gt;&lt;a href=&quot;http://oeis.org/A000108&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;http://oeis.org/A000108&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;a(n) = Product_{k=2..n}
(1 + n/k), if n &amp;gt; 1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Es fácil traducir este producto al Basic de Excel y Calc:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Function
catalan2(n)&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim k,
p&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;p = 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;For k
= 2 To n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;p = p
* (1 + n / k)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Next k&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;catalan2
= p&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End
Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En esta captura de pantalla se refleja la comprobación del idéntico
resultado para el número 8 en las dos versiones propuestas:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUffhkyGbTmg7SXruKTFHJLrdG1_wAw8kiIRfXVyHjR-VjEMRMgWfylrsOdO1nwkmiHHpSKoW8r1JvgjRQTnix1qbeum4sySXlTq0FcuRyEP8oR06hMjo__X9jmSGE8g87NuY1sYVxddIlkCeUAv7YloHoD4A5W3ca69Gt1wxE6Rs0wHmbuVbz_qKlSOI/s195/cata5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;195&quot; data-original-width=&quot;192&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUffhkyGbTmg7SXruKTFHJLrdG1_wAw8kiIRfXVyHjR-VjEMRMgWfylrsOdO1nwkmiHHpSKoW8r1JvgjRQTnix1qbeum4sySXlTq0FcuRyEP8oR06hMjo__X9jmSGE8g87NuY1sYVxddIlkCeUAv7YloHoD4A5W3ca69Gt1wxE6Rs0wHmbuVbz_qKlSOI/s1600/cata5.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-outline-level: 1; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;v:shape id=&quot;_x0000_i1027&quot; style=&quot;height: 146.5pt; mso-wrap-style: square; visibility: visible; width: 2in;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Mediante recurrencia&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;No es difícil demostrar, con cualquiera de las tres fórmulas directas, esta
versión recursiva:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0ny9-W9vgA_n3NoJkCjfYzMdZ9OzvGv1z-_p2k-ztxQzQ93jf8T4EPWJ6NtyitWpXRUKQIHZDJGf6b2PFQBX7UKKrQoNV9CqWi-tU6blT9AEUgxFcteSYS7T0WnQXhZ1t2FrxY6NQt_Zf6y5K_iF-hO3k9MrZOnNOnScsgJymn2EUZsOqCDAznhuXJqg/s336/cata6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;70&quot; data-original-width=&quot;336&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0ny9-W9vgA_n3NoJkCjfYzMdZ9OzvGv1z-_p2k-ztxQzQ93jf8T4EPWJ6NtyitWpXRUKQIHZDJGf6b2PFQBX7UKKrQoNV9CqWi-tU6blT9AEUgxFcteSYS7T0WnQXhZ1t2FrxY6NQt_Zf6y5K_iF-hO3k9MrZOnNOnScsgJymn2EUZsOqCDAznhuXJqg/s1600/cata6.png&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Podemos aprovechar las prestaciones de Excel en el uso
de funciones recursivas. No es muy potente, pero para números sencillos
funciona bien. Consiste en que una función se llama a sí misma.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Tienes una introducción a esta técnica en nuestro
documento “Funciones y Macros”, descargable desde&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;http://www.hojamat.es/guias/descubrir/htm/macros.pdf&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;http://www.hojamat.es/guias/descubrir/htm/macros.pdf&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Para
el caso de los números de Catalan proponemos este código:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Function
catalan3(n)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim c&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If n =
1 Then c = 1 Else c = catalan3(n - 1) * 2 * (2 * n - 1) / (n + 1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;‘Si n=1 declaramos que c=1 y, en caso
contrario, catalan3 se llama sí misma en el valor n-1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;catalan3 = c&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Es un código muy compacto, pero que puede fallar para
números grandes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;He incorporado esta otra función en una hoja de
cálculo descargable que contiene el material que se va desarrollando en esta
serie de entradas&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiniTcltjGec24lZVZXRUpcZMQAkKEfGRHjSL0iPVWtSHKCP5fab0ZoEzy1foYbsUUj4l0DDu-xMaXJpl4Cw5S2OC8AqrgINvGweKoqq21Ro8G7pMzRWLTfGjNdwESpyccT2xbE3Hg4dMkfqKXOgLl0jKyQgK1v3BLm_4_L7GrSs-QuYIJpJ_KF8N2RwXE/s207/cata7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;94&quot; data-original-width=&quot;207&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiniTcltjGec24lZVZXRUpcZMQAkKEfGRHjSL0iPVWtSHKCP5fab0ZoEzy1foYbsUUj4l0DDu-xMaXJpl4Cw5S2OC8AqrgINvGweKoqq21Ro8G7pMzRWLTfGjNdwESpyccT2xbE3Hg4dMkfqKXOgLl0jKyQgK1v3BLm_4_L7GrSs-QuYIJpJ_KF8N2RwXE/s1600/cata7.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-outline-level: 1; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;v:shape id=&quot;_x0000_i1026&quot; style=&quot;height: 70.5pt; mso-wrap-style: square; visibility: visible; width: 155pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;a href=&quot;http://www.hojamat.es/blog/catalan.xslm&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;http://www.hojamat.es/blog/catalan.xslm&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Otra forma de conseguir la recurrencia es mediante dos
columnas, una con los índices y otra en la que cada número de Catalan depende
del anterior:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si
n=1, a=1&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A(n)=a(n-1)*2*(2*n-1)/(n+1)&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrUBNMPl7htB6yqtw8E0nXyIyNzLpKTUuLEr9k3bNy6e3DLLlMhEkXH1ZrUU9WScFFm3Tm7m0GDqerHX_vP8c94OiYTLia0nmcfVZ9TNbesXQpAV4VvbwESZn5tksANQZqtOLVnTHshJPxzOTUhJ4NeHmnvB8hXI_acDfEGDXpPcvlkbe-HCo67VHFxpw/s274/cata8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;274&quot; data-original-width=&quot;145&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrUBNMPl7htB6yqtw8E0nXyIyNzLpKTUuLEr9k3bNy6e3DLLlMhEkXH1ZrUU9WScFFm3Tm7m0GDqerHX_vP8c94OiYTLia0nmcfVZ9TNbesXQpAV4VvbwESZn5tksANQZqtOLVnTHshJPxzOTUhJ4NeHmnvB8hXI_acDfEGDXpPcvlkbe-HCo67VHFxpw/s1600/cata8.png&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Dejamos
aquí los cálculos sobre los números de Catalan. Nuestro enfoque ha sido
operativo, porque es un tema tan extenso y tan bien tratado en otras
publicaciones que con una sola herramienta como la hoja de cálculo era algo
inútil reproducir conceptos y cálculos.&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/6004845095650850842/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/6004845095650850842' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/6004845095650850842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/6004845095650850842'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/10/la-hoja-de-calculo-y-los-numeros-de.html' title='La hoja de cálculo y los números de Catalan'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdD41eFaXXRxsldXyiMvXo1wrk-CWT0dn2K2E3GwEIvOhIKP_3-L8jWY9ESDX27Bjqj3Eoyo4d4o1tb0LGWwrv311ycj1NIRCTzMpxR5h_XIhxBXb06Kkn6HubC8zbfVJAB_Pe2Skogm59LJZ5v9HRgplcQQSw83msGEouXTxZ11pNj0jnx72r3LukLuk/s72-c/cata1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-6917495903590872234</id><published>2026-10-21T15:30:00.000+02:00</published><updated>2026-10-21T15:30:00.218+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estudios"/><category scheme="http://www.blogger.com/atom/ns#" term="Números figurados"/><category scheme="http://www.blogger.com/atom/ns#" term="Teoría"/><title type='text'>Números poligonales generalizados</title><content type='html'>&lt;p&gt;A&lt;span style=&quot;font-family: inherit;&quot;&gt;lgunos conceptos matemáticos, que se basaron inicialmente
en los números naturales, fueron después adaptados a otros tipos de números.
Esto ocurrió con los números poligonales, que, al superar su carácter inicial
geométrico, se generalizaron a los números enteros, pues ya no era necesario
que su orden fuera positivo, al no representar una longitud. Esta decisión les
abrió a nuevas posibilidades, por lo que han perdurado.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Todo número poligonal viene dado por esta fórmula muy
popular:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5I9qw4dGak6aAjtTPXQG4bA_ZtZB6bT2FR8aUTfY95385T6O_MzRAm5TSP6gSyzB-MJ1c07_Zcwf2QO0e9zIeobHSfIXA6RFjFqxi0PlHCOg8mB9LVQ9Rd46O22AWlnLyC8-hII5L9fQVFZgbcgSkevdwoBe-lyq65tIi2ppUJP3QhG0ZnQmLLthvLoU/s436/seq1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;54&quot; data-original-width=&quot;436&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5I9qw4dGak6aAjtTPXQG4bA_ZtZB6bT2FR8aUTfY95385T6O_MzRAm5TSP6gSyzB-MJ1c07_Zcwf2QO0e9zIeobHSfIXA6RFjFqxi0PlHCOg8mB9LVQ9Rd46O22AWlnLyC8-hII5L9fQVFZgbcgSkevdwoBe-lyq65tIi2ppUJP3QhG0ZnQmLLthvLoU/s1600/seq1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si permitimos que n sea cero o negativo, obtendremos los
llamados &lt;/span&gt;&lt;i style=&quot;font-family: inherit;&quot;&gt;números poligonales generalizados&lt;/i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;.&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si &lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;n&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; es positivo, resultará un número poligonal clásico,
que siempre será entero, ya que en el numerador se restan dos números de la
misma paridad. Si generalizamos a un número negativo, sea n=-m, al sustituir en
la fórmula obtendremos&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBmhiiHOkm2bOwB_JoKV01VBC3dbybbpDqB8lx2FHYvg4GUyGfebcAPTdE_DKZeglNWucjiCAmuJ5BMGtkYkbcIfXOZH8klWH6ELgNxnnWRq_loSmL5C56wRjTQijRNJMyLIgF8wKhYsAngdnpwf_m-FKSEAtFkTglCkCfmFgFiVWrQMpreB6iXRVhDL0/s451/seq2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;50&quot; data-original-width=&quot;451&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBmhiiHOkm2bOwB_JoKV01VBC3dbybbpDqB8lx2FHYvg4GUyGfebcAPTdE_DKZeglNWucjiCAmuJ5BMGtkYkbcIfXOZH8klWH6ELgNxnnWRq_loSmL5C56wRjTQijRNJMyLIgF8wKhYsAngdnpwf_m-FKSEAtFkTglCkCfmFgFiVWrQMpreB6iXRVhDL0/s1600/seq2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;!--[if gte msEquation 12]&gt;&lt;m:oMathPara&gt;&lt;m:oMath&gt;&lt;m:sSub&gt;&lt;m:sSubPr&gt;&lt;span
    style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;
    font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
    mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;font-style:
    italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:sSubPr&gt;&lt;m:e&gt;&lt;i
    style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
    line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
    Arial&#39;&gt;&lt;m:r&gt;PS&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;m:sub&gt;&lt;i style=&#39;mso-bidi-font-style:
    normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:115%;font-family:&quot;Cambria Math&quot;,serif;
    mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;m&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:sub&gt;&lt;/m:sSub&gt;&lt;i
  style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:
  115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;=&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;m:f&gt;&lt;m:fPr&gt;&lt;span
    style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;
    font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
    mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;font-style:
    italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:fPr&gt;&lt;m:num&gt;&lt;m:d&gt;&lt;m:dPr&gt;&lt;span
      style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:
      14.0pt;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
      mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;
      font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:dPr&gt;&lt;m:e&gt;&lt;i
      style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
      line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
      Arial&#39;&gt;&lt;m:r&gt;k&lt;/m:r&gt;&lt;m:r&gt;-&lt;/m:r&gt;&lt;m:r&gt;2&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:d&gt;&lt;m:sSup&gt;&lt;m:sSupPr&gt;&lt;span
      style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:
      14.0pt;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
      mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;
      font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:sSupPr&gt;&lt;m:e&gt;&lt;i
      style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
      line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
      Arial&#39;&gt;&lt;m:r&gt;m&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;m:sup&gt;&lt;i style=&#39;mso-bidi-font-style:
      normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:115%;font-family:&quot;Cambria Math&quot;,serif;
      mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;2&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:sup&gt;&lt;/m:sSup&gt;&lt;i
    style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
    line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
    Arial&#39;&gt;&lt;m:r&gt;+&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;m:d&gt;&lt;m:dPr&gt;&lt;span style=&#39;font-size:14.0pt;
      mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;font-family:&quot;Cambria Math&quot;,serif;
      mso-ascii-font-family:&quot;Cambria Math&quot;;mso-hansi-font-family:&quot;Cambria Math&quot;;
      mso-bidi-font-family:Arial;font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:dPr&gt;&lt;m:e&gt;&lt;i
      style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
      line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
      Arial&#39;&gt;&lt;m:r&gt;k&lt;/m:r&gt;&lt;m:r&gt;-&lt;/m:r&gt;&lt;m:r&gt;4&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:d&gt;&lt;i
    style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
    line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
    Arial&#39;&gt;&lt;m:r&gt;m&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:num&gt;&lt;m:den&gt;&lt;i style=&#39;mso-bidi-font-style:
    normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:115%;font-family:&quot;Cambria Math&quot;,serif;
    mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;2&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:den&gt;&lt;/m:f&gt;&lt;i
  style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:
  115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt; , &lt;/m:r&gt;&lt;m:r&gt;con&lt;/m:r&gt;&lt;m:r&gt;
   &lt;/m:r&gt;&lt;m:r&gt;m&lt;/m:r&gt;&lt;m:r&gt; &lt;/m:r&gt;&lt;m:r&gt;entero&lt;/m:r&gt;&lt;m:r&gt; &lt;/m:r&gt;&lt;m:r&gt;positivo&lt;/m:r&gt;&lt;m:r&gt;
   &lt;/m:r&gt;&lt;m:r&gt;y&lt;/m:r&gt;&lt;m:r&gt; &lt;/m:r&gt;&lt;m:r&gt;k&lt;/m:r&gt;&lt;m:r&gt;&amp;gt;2&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:oMath&gt;&lt;/m:oMathPara&gt;&lt;![endif]--&gt;&lt;!--[if !msEquation]--&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;v:shape id=&quot;_x0000_i1025&quot; style=&quot;height: 36pt; width: 375pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata chromakey=&quot;white&quot; o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 425.2pt;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Esta expresión da lugar a una
nueva clase de poligonales a los que llamaremos &lt;i&gt;segundos poligonales&lt;/i&gt; del
mismo orden. Con el añadido del cero, los números poligonales generalizados
serán la unión de los clásicos con estos otros de segunda naturaleza.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si imaginamos m=n, ocurrirá que PS&lt;sub&gt;n&lt;/sub&gt;=P&lt;sub&gt;n&lt;/sub&gt;+(k-4)n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Comparemos, por ejemplo, las dos clases de hexagonales:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Los clásicos: 0, 1, 6, 15, 28, 45, 66, 91, 120, 153, 190,
231, de fórmula n(2n-1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://oeis.org/A000384&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;https://oeis.org/A000384&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Los segundos: 0, 3, 10, 21, 36, 55, 78, 105, 136, 171, 210,
de fórmula n(2n+1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://oeis.org/A014105&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;https://oeis.org/A014105&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;la diferencia entre sus elementos del mismo orden (k-4)n=2n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Así, 3-1=2*1, 10-6=2*2, 21-15=2*3, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Lo interesante es que ambos conjuntos se pueden unir
intercalando sus elementos. Para ello, habrá que demostrar que PS&lt;sub&gt;n&lt;/sub&gt;&amp;lt;P&lt;sub&gt;n+1&lt;/sub&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Planteamos la diferencia:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCref5hyphenhyphen-M6QjG0ft6KhV71elEyG1wIyJ7JSFOjar2cYXbSeNKwjGbbZXSlrRzDuMk1Sv3TQQVkBwpgEYbQ0nfeCAa5N7USi-fAQAqz_I-yhgkWz-dx8unPYLAIEhryA3dOlPPkaylLhJQ0GP22ZfYTS_ssOC5FzEvBRRW5e8zloVHqhweiLpw2UE3qWo/s463/seq3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;47&quot; data-original-width=&quot;463&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCref5hyphenhyphen-M6QjG0ft6KhV71elEyG1wIyJ7JSFOjar2cYXbSeNKwjGbbZXSlrRzDuMk1Sv3TQQVkBwpgEYbQ0nfeCAa5N7USi-fAQAqz_I-yhgkWz-dx8unPYLAIEhryA3dOlPPkaylLhJQ0GP22ZfYTS_ssOC5FzEvBRRW5e8zloVHqhweiLpw2UE3qWo/s1600/seq3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Al ser el resultado positivo, podemos afirmar que P&lt;/span&gt;&lt;sub style=&quot;font-family: inherit;&quot;&gt;n &amp;nbsp;&lt;/sub&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt; PS&lt;/span&gt;&lt;sub style=&quot;font-family: inherit;&quot;&gt;n&lt;/sub&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt; P&lt;/span&gt;&lt;sub style=&quot;font-family: inherit;&quot;&gt;n+1&lt;/sub&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;,
y que, por tanto, se pueden intercalar ambas sucesiones con el título de &lt;/span&gt;&lt;i style=&quot;font-family: inherit;&quot;&gt;números
poligonales generalizados&lt;/i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;.&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En el caso del hexágono formarían, intercalados, los
números hexagonales generalizados:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;0, 1, 3, 6, 10,15, 21, 28, 36, 45, 55, 66, 78, 91, 105, 120,
136,153, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Nos llevamos la sorpresa de que son los números
triangulares clásicos. Ya volveremos sobre ellos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Casos particulares&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Los triangulares se convierten en otros triangulares al
cambiar de índice positivo a negativo, y los cuadrados permanecen iguales. Los
casos interesantes comienzan con los pentagonales. Veremos los de este tipo y
algunos más:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #0c343d;&quot;&gt;Números pentagonales generalizados&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Los pentagonales clásicos,&lt;b&gt; &lt;/b&gt;1, 5, 12, 22, 35, 51, … siguen
la fórmula&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimjVCDzVJJNWs7l8ckfD1_AQgakEvTh2cPeATsWre-NtpZYwHzB4ILVjDXEdM54IsdM6TR7cqNiEyj3GQmjAl-uYiaEm_5KUPu2XTRcAhT3uf6OuXGes_velE4m-PvOnubnUcywo7X13aiuXHn9sL73s9PWJJbU1l1662kTIHBgws3epSgP9zZ27ha9Ro/s121/seq4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;48&quot; data-original-width=&quot;121&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimjVCDzVJJNWs7l8ckfD1_AQgakEvTh2cPeATsWre-NtpZYwHzB4ILVjDXEdM54IsdM6TR7cqNiEyj3GQmjAl-uYiaEm_5KUPu2XTRcAhT3uf6OuXGes_velE4m-PvOnubnUcywo7X13aiuXHn9sL73s9PWJJbU1l1662kTIHBgws3epSgP9zZ27ha9Ro/s1600/seq4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Es el caso particular de la fórmula general para k=5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 243.0pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;Están publicados en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A000326&quot;&gt;&lt;span style=&quot;color: windowtext; line-height: 115%;&quot;&gt;https://oeis.org/A000326&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt; y
estudiados en mi publicación “Números poligonales” &lt;/span&gt;&lt;a href=&quot;https://www.hojamat.es/publicaciones/poligonales.pdf&quot;&gt;&lt;span style=&quot;color: windowtext; line-height: 115%;&quot;&gt;https://www.hojamat.es/publicaciones/poligonales.pdf&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 243.0pt;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Según lo tratado
anteriormente, los segundos pentagonales tendrán como fórmula&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 243.0pt;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxpGPowKmD4zPorvJu2xNX0bcMrY8Y7ecKkQ8IYO7ugESZwHAyqQj6WPGFEFnsMsi651G3bX9JzfD31KSWieSVxpFKTTiqoj_4dgdXEIVchcenTa2yZW-8D7d1ZsE8dHpsBkcUfyWh8R-gIk1taBWXD08Tk2mmxT6CB9Bar7Kf7dfkRkIpRVfuKpolKjM/s122/seq5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;51&quot; data-original-width=&quot;122&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxpGPowKmD4zPorvJu2xNX0bcMrY8Y7ecKkQ8IYO7ugESZwHAyqQj6WPGFEFnsMsi651G3bX9JzfD31KSWieSVxpFKTTiqoj_4dgdXEIVchcenTa2yZW-8D7d1ZsE8dHpsBkcUfyWh8R-gIk1taBWXD08Tk2mmxT6CB9Bar7Kf7dfkRkIpRVfuKpolKjM/s1600/seq5.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Son estos:&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 243.0pt;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;0, 2, 7, 15, 26, 40, 57, 77, 100, 126,
155, 187, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 243.0pt;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Su diferencia con los clásicos del mismo
orden es &lt;b&gt;n&lt;/b&gt;: 2-1=1, 7-5=2, 15-12=3, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 243.0pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;Están publicados en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A005449&quot;&gt;&lt;span style=&quot;color: windowtext; line-height: 115%;&quot;&gt;https://oeis.org/A005449&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 243.0pt;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;La unión de las dos sucesiones
formará esta otra, la de &lt;i&gt;pentagonales generalizados&lt;/i&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 243.0pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;0, 1, 2, 5, 7, 12, 15, 22, 26,
35, 40, 51, 57, 70, 77, 92, 100, 117, 126, 145, 155, 176, 187, 210, 222, 247,
260, … (&lt;/span&gt;&lt;a href=&quot;https://oeis.org/A001318&quot;&gt;&lt;span style=&quot;color: windowtext; line-height: 115%;&quot;&gt;https://oeis.org/A001318&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 243.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #0c343d;&quot;&gt;Segundos pentagonales&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 243.0pt;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Estudiamos algunos detalles de
los segundos pentagonales:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 243.0pt;&quot;&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Interpretación combinatoria&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 243.0pt;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En la página de OEIS
correspondiente se afirma que representan las cartas necesarias para construir
un castillo de naipes. La clave está en el hecho de que PS(n+1)=PS(n)+2n+3:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 243.0pt;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4B-Z1Ya6lULc9f2GYrS2Xve_TFYuaL1AFKIt1U5YXhqalFR7mwQKQW2rThZe-H8P51mGVK87N0RJKWaOnRslfiwvxevukwkBMMgyQZ4BLd33ph9EGXiO8Vb7ThqDc9ZStA5J3rFyX1wdPncbnF5sdgwGkeEYC-IN2-hPT9XGV_7VtkaRW8CHUa9qcqyQ/s403/seq6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;48&quot; data-original-width=&quot;403&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4B-Z1Ya6lULc9f2GYrS2Xve_TFYuaL1AFKIt1U5YXhqalFR7mwQKQW2rThZe-H8P51mGVK87N0RJKWaOnRslfiwvxevukwkBMMgyQZ4BLd33ph9EGXiO8Vb7ThqDc9ZStA5J3rFyX1wdPncbnF5sdgwGkeEYC-IN2-hPT9XGV_7VtkaRW8CHUa9qcqyQ/s1600/seq6.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Para el primer castillo se
necesitan 3 cartas, y dado un castillo ya formado, deberemos añadir tres cartas
por nivel (dos inclinadas y una horizontal) más la culminación, que serán dos
cartas. En la imagen se entiende bien:&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 243.0pt;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSiHYZHelNE_2FcHSZpgXga8P8KAQk2_A22_AG7NOCMEyskbX3Lyv05INyOWlHK55X96tRxs8aNh3putiH9LteozRAQ5vN5BGMVFxvnlVHGTkSmMBoImmsKU2x8bnmaPnlOXRpn6qnrNNA2xDeOXxVn0WmOrelprWmOsop3yebgxPGp7Ms3dVmcC5WtGo/s180/seq7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;162&quot; data-original-width=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSiHYZHelNE_2FcHSZpgXga8P8KAQk2_A22_AG7NOCMEyskbX3Lyv05INyOWlHK55X96tRxs8aNh3putiH9LteozRAQ5vN5BGMVFxvnlVHGTkSmMBoImmsKU2x8bnmaPnlOXRpn6qnrNNA2xDeOXxVn0WmOrelprWmOsop3yebgxPGp7Ms3dVmcC5WtGo/s1600/seq7.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Las cartas de perfil azul
corresponden a PS(3)=15 y las rojas 3*3+2=11, y al sumar obtenemos PS(4)=26&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 243.0pt;&quot;&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Recurrencias&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 243.0pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;Además de la ya &lt;span style=&quot;color: black; mso-themecolor: text1;&quot;&gt;tratada de 3n+2, existen varias
publicadas en OEIS, pero no la que califico de “muy útil” (&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2026/05/unas-recurrencias-muy-utiles.html&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;https://hojaynumeros.blogspot.com/2026/05/unas-recurrencias-muy-utiles.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;) también nos vale, y no recurre al valor de &lt;b&gt;n&lt;/b&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;x&lt;sub&gt;n&lt;/sub&gt;=
3x&lt;sub&gt;n-1&lt;/sub&gt;-3x&lt;sub&gt;n-2&lt;/sub&gt;+x&lt;sub&gt;n-3&lt;o:p&gt;&lt;/o:p&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;MsoHyperlink&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%; text-decoration: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En la entrada enlazada se
explica su fundamento. Aquí basta con una comprobación en forma de tabla:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;MsoHyperlink&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%; text-decoration: none;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhInzB8iIZs0XCgGwloBz_NLAYmRDB_CP9jDM6oqHm0Bny6RPhDEuVeAswJGwhzS31e6j1eVNA9CazGa2MhGdF0SiKyUrKJiidnLqa7PNfZgNkLdirx51Xd1-JWd83BRbNgThbXDzmr74mrS_YTQ2-XUcLNbtVbUJdHp0b2S6JZAWuobyb6nM2C_3uExKw/s278/seq8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;145&quot; data-original-width=&quot;278&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhInzB8iIZs0XCgGwloBz_NLAYmRDB_CP9jDM6oqHm0Bny6RPhDEuVeAswJGwhzS31e6j1eVNA9CazGa2MhGdF0SiKyUrKJiidnLqa7PNfZgNkLdirx51Xd1-JWd83BRbNgThbXDzmr74mrS_YTQ2-XUcLNbtVbUJdHp0b2S6JZAWuobyb6nM2C_3uExKw/s1600/seq8.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;v:shape id=&quot;Imagen_x0020_2&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 109pt; mso-wrap-style: square; visibility: visible; width: 208pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span class=&quot;MsoHyperlink&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%; text-decoration: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;color: #0c343d; font-family: inherit;&quot;&gt;Números pentagonales generalizados&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Al ser la unión de dos sucesiones, podemos unificar sus
fórmulas mediante una función. En ella la variable &lt;b&gt;m&lt;/b&gt; es útil para
alternar los signos más y menos en el numerador. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;pg(n)=my(m=truncate((n+1)/2));(3*m^2+(-1)^n*m)/2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;for(k=1,20,print1(pg(k),&quot;, &quot;))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Resulta:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1, 2,
5, 7, 12, 15, 22, 26, 35, 40, 51, 57, 70, 77, 92, 100, 117, 126, 145, 155, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Era lo
que se pretendía.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En su
página de OEIS se incluyen muchas alternativas como fórmulas para esta
sucesión.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Nuestra
recurrencia “útil”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Al ser
ambas sucesiones componentes generadas por la misma fórmula de recurrencia,
bastará definir como elementos iniciales 0, 0, 1, 2, 5, 7 y aplicar&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;x&lt;sub&gt;n&lt;/sub&gt;=
3x&lt;sub&gt;n-2&lt;/sub&gt;-3x&lt;sub&gt;n-4&lt;/sub&gt;+x&lt;sub&gt;n-6&lt;o:p&gt;&lt;/o:p&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Así: 3*5-3*1+0=12, 3*7-3*2+0=15, 3*12-3*5+1=22, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Propiedad de Conway&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;La tercera parte de un triangular es un pentagonal
generalizado si no es del tipo 3n+1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En esta tabla figuran los primeros triangulares y su
tercera parte si es válida la para la propiedad:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;0 1 3 6 10 15 21 28 36 45 55 66 78 91 105 120 136 153 ...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;0 &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;1 2 &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;5 &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;7&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;12
15&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;22 26&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;35 &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;40 &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;51 ...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;T(3n)/3=3n*(3n+1)/6=(9n&lt;sup&gt;2&lt;/sup&gt;+3n)/6=(3n&lt;sup&gt;2&lt;/sup&gt;+n)/2
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;T(3n-1)/3=(3n-1)(3n)/6=(3n&lt;sup&gt;2&lt;/sup&gt;-n)/2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En ambos casos resulta un pentagonal generalizado.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Otra propiedad: 24*a(n)+1 es un cuadrado&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;24(3n&lt;sup&gt;2&lt;/sup&gt;+2)/2+1=36n&lt;sup&gt;2&lt;/sup&gt;+24n+1=(6n+1)&lt;sup&gt;2&lt;/sup&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;E igual con los pentagonales clásicos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #0c343d;&quot;&gt;Números heptagonales generalizados&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Siguiendo los mismos razonamientos que con los
pentagonales, esta otra sucesión será la unión de los heptagonales clásicos, de
fórmula HP(n)=n(5n-3)/2 y los “segundos”, provenientes de órdenes negativos
HPS(n)=n(5n+3)/2.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;La sucesión resultante es, en sus primeros términos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;0, 1, 4, 7, 13, 18, 27, 34, 46, 55, 70, 81, &lt;span style=&quot;color: black; mso-themecolor: text1;&quot;&gt;99, 112, 133, 148, 172, 189, 216, 235,
265, 286, 319, 342, 378, 403, 442, 469, 511, 540, 585, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;Está publicada en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A085787&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;https://oeis.org/A085787&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;, y los segundos heptagonales en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A147875&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;https://oeis.org/A147875&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Propiedades&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A continuación, se verán
algunas propiedades de ambas sucesiones:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Los segundos heptagonales
son suma de una progresión geométrica, la b(n)=5*n+4, con primer término b(0)=4.
En efecto, la suma será S(n)=(4+5*(n-1)+4)*n/2=n(5n-3)/2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Como todos los números de
estos tipos siguen la recurrencia &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;x&lt;sub&gt;n&lt;/sub&gt;=
3x&lt;sub&gt;n-1&lt;/sub&gt;-3x&lt;sub&gt;n-2&lt;/sub&gt;+x&lt;sub&gt;n-3&lt;o:p&gt;&lt;/o:p&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;27=3*13-3*4+0, 46=3*27-3*13+4, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Esta recurrencia se extiende a toda la sucesión
generalizada de igual forma que en el caso de pentagonales.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;De forma similar a los pentagonales, se cumple que 40a(n)+9
es un cuadrado:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;40*n*(5n±3)/2+9=100n&lt;sup&gt;2&lt;/sup&gt;±60n+9=(10n±3)&lt;sup&gt;2&lt;/sup&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/6917495903590872234/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/6917495903590872234' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/6917495903590872234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/6917495903590872234'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/10/numeros-poligonales-generalizados.html' title='Números poligonales generalizados'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5I9qw4dGak6aAjtTPXQG4bA_ZtZB6bT2FR8aUTfY95385T6O_MzRAm5TSP6gSyzB-MJ1c07_Zcwf2QO0e9zIeobHSfIXA6RFjFqxi0PlHCOg8mB9LVQ9Rd46O22AWlnLyC8-hII5L9fQVFZgbcgSkevdwoBe-lyq65tIi2ppUJP3QhG0ZnQmLLthvLoU/s72-c/seq1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-2961178545256362002</id><published>2026-10-12T13:32:00.000+02:00</published><updated>2026-10-12T13:32:00.120+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Combinatoria"/><category scheme="http://www.blogger.com/atom/ns#" term="Particiones"/><category scheme="http://www.blogger.com/atom/ns#" term="Regresos"/><title type='text'>Regresos 16 (3): Particiones condicionadas con PARI</title><content type='html'>&lt;p&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En la anterior entrada se
desarrolló un ejemplo de particiones condicionadas con Cartesius y un Buscador.
Consistía en descomponer el número 50 en sumandos cuadrados, sin importar el
número de ellos que usemos, pero que no pasara de 3. Las soluciones resultaron
ser 50=25+16+9=25+25=49+1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Ahora repetiremos el ejemplo con
las herramientas del lenguaje PARI.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En PARI se cuenta con la función
FORPART, que recorre una partición cualquiera, en la que se pueden integrar
condicionantes. Para el ejemplo actual valdría este código:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;a(n) = {nb = 0; forpart(p=n, if (#p &amp;amp;&amp;amp;
(#select(x-&amp;gt;issquare(x), Vec(p)) == #p), nb+=1;print(p)), , 3);nb; }&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;print(a(50))&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Cuesta entender todo lo escrito,
pero consiste en iniciar un contador &lt;b&gt;nb, &lt;/b&gt;recorrer todas las particiones
con&lt;b&gt; forpart &lt;/b&gt;y condicionarlas con &lt;b&gt;x-&amp;gt;issquare(x)&lt;/b&gt;.&lt;b&gt; &lt;/b&gt;El &lt;b&gt;3&lt;/b&gt;
que aparece es el tope para el número de elementos de la partición. Finaliza
incrementando el contador e imprimiendo resultados. Así queda en la página
oficial de PARI:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_i1039&quot; style=&quot;height: 55.5pt; mso-wrap-style: square; visibility: visible; width: 425pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQvBFu2qPqfQP8Cc_s2JehgbZmduYXgSOfZzOcxgO9WpgLT3w9S3J6LhGRlxbOw2bx0AI8YCFCKxY-7Tqj4yGNPstJdvzD2PKYmAICwTkAnWETcWbZDFTztyztmPysvW8BNfumteiW_Ixtm-usdvoz2Jqxp_Mh2Lg0her67W9YhSg2XKuguyJBXj78Lt4/s567/parti55.png&quot; style=&quot;font-family: inherit; margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;74&quot; data-original-width=&quot;567&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQvBFu2qPqfQP8Cc_s2JehgbZmduYXgSOfZzOcxgO9WpgLT3w9S3J6LhGRlxbOw2bx0AI8YCFCKxY-7Tqj4yGNPstJdvzD2PKYmAICwTkAnWETcWbZDFTztyztmPysvW8BNfumteiW_Ixtm-usdvoz2Jqxp_Mh2Lg0her67W9YhSg2XKuguyJBXj78Lt4/s1600/parti55.png&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Coincide con las anteriores
herramientas&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Segundo ejemplo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Encontrar el número de
particiones de un número en números primos sin otro condicionamiento. Por
ejemplo, con el número 20:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Utilizamos el código PARI
siguiente:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;a(n) = {nb = 0; forpart(p=n, if (#p &amp;amp;&amp;amp;
(#select(x-&amp;gt;isprime(x), Vec(p)) == #p), nb+=1), , ); nb; }&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;print(a(20))&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Lo probamos y resulta que son 26:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhicUle03BDZcbNpTUbOUjeYpmFvkH9qX8lq_dHHd8Phx8FLqRpSy4m4nSm1DYQlqNn7bK5RE6tjg4Qm16Ln1719npNUGBaMFs0mvOB96-cgWA8VLZXckd24VmMPGEzRGIrdYLSa0xr7fPU-WY535eHF9Vb8E2uT2x1bWGTRWn5mQ9HZoI5BYaHoe5lcmc/s496/parti6.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;34&quot; data-original-width=&quot;496&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhicUle03BDZcbNpTUbOUjeYpmFvkH9qX8lq_dHHd8Phx8FLqRpSy4m4nSm1DYQlqNn7bK5RE6tjg4Qm16Ln1719npNUGBaMFs0mvOB96-cgWA8VLZXckd24VmMPGEzRGIrdYLSa0xr7fPU-WY535eHF9Vb8E2uT2x1bWGTRWn5mQ9HZoI5BYaHoe5lcmc/s1600/parti6.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Si deseamos ver las 26
particiones, le añadimos un print(p) detrás de nb+=1. Observa la imagen:&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibWsT46pShzntwlCs9YpVVe8bVrmHmcNI9qPgYesfXMuKpE1Z-glNLCDNJNQWUn3ka5w97-98XRiS8JAj-lwJ6baPPubIsgHFW18v9k2IXmCM756g3eYYsARNz316WXUP_wq-kNY7nbUITh8NyXVPORVsdG-txDlmKo3C_GTQo1Dva3BEtsMtazkrIvAU/s534/parti7.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;305&quot; data-original-width=&quot;534&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibWsT46pShzntwlCs9YpVVe8bVrmHmcNI9qPgYesfXMuKpE1Z-glNLCDNJNQWUn3ka5w97-98XRiS8JAj-lwJ6baPPubIsgHFW18v9k2IXmCM756g3eYYsARNz316WXUP_wq-kNY7nbUITh8NyXVPORVsdG-txDlmKo3C_GTQo1Dva3BEtsMtazkrIvAU/s1600/parti7.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Con el Buscador se puede
comprobar. Basta corregir las líneas de filtro, usando ESPRIMO en lugar de
ESCUAD. Se omiten los detalles, ya explicados en la anterior entrada.&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEBeL3vMl2r1Fhw2A0xg7_ypWp914NS4HCsCtJ-6StzIWguLKiOTO46xLUX5Om2mqlNuzGuBDFNd888FNa-MqauFBD_NQFNxMROeyvShI_rniGmIXLLV8nOIaGVTFxy4msSlHmEX-FZGyf19Suax54FDsbC68Nv7hqT_M95TdpKK21GBDSSOSIKnLCqf8/s344/parti8.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;344&quot; data-original-width=&quot;217&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEBeL3vMl2r1Fhw2A0xg7_ypWp914NS4HCsCtJ-6StzIWguLKiOTO46xLUX5Om2mqlNuzGuBDFNd888FNa-MqauFBD_NQFNxMROeyvShI_rniGmIXLLV8nOIaGVTFxy4msSlHmEX-FZGyf19Suax54FDsbC68Nv7hqT_M95TdpKK21GBDSSOSIKnLCqf8/s1600/parti8.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;br /&gt;Se ha usado como tope el 10, que es máximo número posible de
sumandos primos.&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Nos puede interesar aplicar otra
condición. En el ejemplo anterior se podría exigir que los primos fueran
pitagóricos, del tipo 4k+1. Resultaría:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfk4r4XgGf7CDY9yNxdNQtRJORefgLM1BS0vhyXvxvtUPdtiibgR92dHaTQKUKicMkYyHsQE1WW8nW02Cr62jISkX4hNko3guqTuf9HSIr6TsPOlm0JeJrW1f1kWouHBbn3fhxkHF_rDjK-cFFYbVkQH1rGUjEvXAXrvoY1hhtYyFp-PTHs_FYdVbonCc/s476/parti9.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;50&quot; data-original-width=&quot;476&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfk4r4XgGf7CDY9yNxdNQtRJORefgLM1BS0vhyXvxvtUPdtiibgR92dHaTQKUKicMkYyHsQE1WW8nW02Cr62jISkX4hNko3guqTuf9HSIr6TsPOlm0JeJrW1f1kWouHBbn3fhxkHF_rDjK-cFFYbVkQH1rGUjEvXAXrvoY1hhtYyFp-PTHs_FYdVbonCc/s1600/parti9.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;br /&gt;Se ha añadido la condición x%4==1 (el signo % significa
MÓDULO)&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #0c343d; font-family: inherit;&quot;&gt;Condiciones más exigentes&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Partición con sumandos
coprimos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;He encontrado este ejemplo en &lt;a href=&quot;https://oeis.org/A000837&quot;&gt;&lt;span color=&quot;windowtext&quot;&gt;https://oeis.org/A000837&lt;/span&gt;&lt;/a&gt;,
y lo uso para resaltar la economía de medios del lenguaje PARI. He adaptado el
código a este documento:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;s=0;forpart(X=20, s+=(gcd(X)==1);print(s))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con esta simple línea encontramos
que existen 582 particiones en las que el conjunto de sumandos posee MCD igual
a 1 (no se afirma que sean primos dos a dos). Aquí, la condición fundamental es
&lt;b&gt;&lt;i&gt;gcd(X)==1&lt;/i&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #0c343d;&quot;&gt;Función Q(n)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Se denomina así al número de
particiones de un número en elementos distintos. Recordamos aquí que estas
particiones son sencillas de encontrar con Cartesius. Basta usar la condición
NO REPITE.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Estas son las condiciones para
las particiones del número 10 en sumandos distintos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;xrango=10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;xt=1..10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;no repite&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;suma=10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;creciente&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Su solución es&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhYObDvkm6nlKaNDcpxDUGOjnAIG2EDCwMs28qQT5ASmLQsiE-rlik0Qxza86qKelMJD0af0wqsykqtRcaV-zBWGlJITdpUA2W9dnurN4TNll9qNSe_p9flxbQK8vTkqU5OgJwyBoVBwQfBVCvGnHFi_Ti7oTarRpC3_079nqhYPN3E3-GK3ZgRp5OcpI/s221/parti10.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;167&quot; data-original-width=&quot;221&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhYObDvkm6nlKaNDcpxDUGOjnAIG2EDCwMs28qQT5ASmLQsiE-rlik0Qxza86qKelMJD0af0wqsykqtRcaV-zBWGlJITdpUA2W9dnurN4TNll9qNSe_p9flxbQK8vTkqU5OgJwyBoVBwQfBVCvGnHFi_Ti7oTarRpC3_079nqhYPN3E3-GK3ZgRp5OcpI/s1600/parti10.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Son diez en total, pero el
proceso resulta lento e inestable.&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En OEIS (&lt;a href=&quot;https://oeis.org/A000009&quot;&gt;&lt;span color=&quot;windowtext&quot;&gt;https://oeis.org/A000009&lt;/span&gt;&lt;/a&gt;)
se incluye este código PARI:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;{a(n) = my(c); forpart(p=n, if( n&amp;lt;1 ||
p[1]&amp;lt;2, c++; for(i=1, #p-1, if( p[i+1] &amp;gt; p[i]+1, c--; break)))); c}; &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;/* &lt;/span&gt;&lt;a href=&quot;https://oeis.org/wiki/User:Michael_Somos&quot;&gt;&lt;span color=&quot;windowtext&quot; lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;Michael Somos&lt;/span&gt;&lt;/a&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;, Aug 13 2017 */&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Es algo oscuro a la hora de
entenderlo, pero funciona:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_jUe4HKsmq3wL5m8P_LqDgyuZ9s_cDMC1fbQ6BIuKXs7fojKV-_nvy6nBoHjRZtHfTvDC6WBzgkApiv6u-dWJvyUmRZ67YnZQTjOHNXjbcGCIUuUd2yN-g-KZ_Cn0hmDUI86uDVJ1JA2r1aZGROE5X04UtlyypQKzJxKR7F8taFtXyDzm2iB95vRWTY8/s442/parti11.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;26&quot; data-original-width=&quot;442&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_jUe4HKsmq3wL5m8P_LqDgyuZ9s_cDMC1fbQ6BIuKXs7fojKV-_nvy6nBoHjRZtHfTvDC6WBzgkApiv6u-dWJvyUmRZ67YnZQTjOHNXjbcGCIUuUd2yN-g-KZ_Cn0hmDUI86uDVJ1JA2r1aZGROE5X04UtlyypQKzJxKR7F8taFtXyDzm2iB95vRWTY8/s1600/parti11.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En el elemento correspondiente al
10 observamos que Q(10)=10, tal como resultó en Cartesius.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #0c343d; font-family: inherit;&quot;&gt;Con el Buscador&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Anulamos los filtros o
restricciones, pero en el momento de llegar a la suma de la partición añadimos
esta condición:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;vale =
True&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If pp
&amp;gt; 1 Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;For j =
2 To pp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;For k =
1 To j - 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If
su(e(j)) = su(e(k)) Then vale = False&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Next k&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Next j&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End If&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;i&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If vale Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;De esa forma, sólo nos devolverá
las particiones con elementos distintos:&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizaw72GaK7VEGuPtlqCMb9LLY0QUqlsh-brB8P38JC9i02SsPbqJfvx1AoxlxSjn6YItI_53T2CGnGSGSKbE7svW-ok91dFENNwxd0X-Xbzy8H0veLFCDOHOh4EFPOAI84lrRuPVNfrRZzoyCu0AC-Pq1-FhWP8KJtOrHs02FP4HE1_FUTDZ9C17P4o2Q/s260/parti12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;260&quot; data-original-width=&quot;168&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizaw72GaK7VEGuPtlqCMb9LLY0QUqlsh-brB8P38JC9i02SsPbqJfvx1AoxlxSjn6YItI_53T2CGnGSGSKbE7svW-ok91dFENNwxd0X-Xbzy8H0veLFCDOHOh4EFPOAI84lrRuPVNfrRZzoyCu0AC-Pq1-FhWP8KJtOrHs02FP4HE1_FUTDZ9C17P4o2Q/s1600/parti12.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Según un importante teorema ya
visto en este blog, el número de estas particiones coincide con las conseguidas
si se restringen los sumandos a ser impares.&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En el ejemplo del 10 nos
resultarían, como era de esperar, 10 particiones con este código:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;a(n) = {nb = 0; forpart(p=n, if (#p &amp;amp;&amp;amp;
(#select(x-&amp;gt;x%2==1, Vec(p)) == #p), nb+=1;print(p)), , 3);nb; }&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;print(a(10))&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqcPpq0VqUSEOD3Y0AxXJndzvQaNwAjgjpPY99-S5k_-2nQeGyNHuK5tNLUcR7YEiG0xnemB1t9UFXf_N-AO6VgoeWlo7HDluUd2NSvCmbUNyhfDX6km65YehkbG2AsktTo5CNpiVwkOlPsXr2SFUxzBJZP27CHrDFYY5uqM-c17hwp6jpRHkHx1tI4N0/s518/part111.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;138&quot; data-original-width=&quot;518&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqcPpq0VqUSEOD3Y0AxXJndzvQaNwAjgjpPY99-S5k_-2nQeGyNHuK5tNLUcR7YEiG0xnemB1t9UFXf_N-AO6VgoeWlo7HDluUd2NSvCmbUNyhfDX6km65YehkbG2AsktTo5CNpiVwkOlPsXr2SFUxzBJZP27CHrDFYY5uqM-c17hwp6jpRHkHx1tI4N0/s1600/part111.png&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Con Cartesius bastarían las
condiciones&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;xrango=10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;xt=1..10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;xt=filtro(impar)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;suma=10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;creciente&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;No es recomendable por su
lentitud.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Sin más explicaciones, este sería
el resultado si eliminamos los sumandos pares:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;&lt;v:shape id=&quot;Imagen_x0020_5&quot; o:spid=&quot;_x0000_i1030&quot; style=&quot;height: 198pt; mso-wrap-style: square; visibility: visible; width: 121.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE5joxhrqXftSioWTvOn0fZRf7UvKl8alqWKr6L_Z_VR2ZxTzH11eQ8rqQtmLTxinwvApTU4N9QRoZs8g_-OSdPioZWikW4htLKijthF02UN3pi-Fcq4zqXbc0vDlBx2Kgsd7kg7Y2rj9IqQDJA4PsWQm5vUrj55UZgFwIn_GHEbMwhNq9dNzrvXVOZWI/s264/parti14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;264&quot; data-original-width=&quot;162&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE5joxhrqXftSioWTvOn0fZRf7UvKl8alqWKr6L_Z_VR2ZxTzH11eQ8rqQtmLTxinwvApTU4N9QRoZs8g_-OSdPioZWikW4htLKijthF02UN3pi-Fcq4zqXbc0vDlBx2Kgsd7kg7Y2rj9IqQDJA4PsWQm5vUrj55UZgFwIn_GHEbMwhNq9dNzrvXVOZWI/s1600/parti14.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Particiones con un número par o
impar de sumandos&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En estos ejemplos usaré PARI:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con un número par:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Es importante la parte &lt;b&gt;&lt;i&gt;#p%2==0,nb+=1&lt;/i&gt;&lt;/b&gt;,
pues % es la operación MODULO y nos indica que la partición tiene un número par
de elementos &lt;b&gt;#p&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;a(n) = {nb = 0; forpart(p=n, if(#p%2==0,nb+=1),
, ); nb; }&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;print(a(20))&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Nos resulta que existen 317
particiones con un número par de elementos. Si deseamos datos de los primeros
números obtendremos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4dQigI-rnnttsKR8UrtnBYjUNpK9erBsas3FYf5Ki63Aa5rkLlKggtUrWkEJE0q5522SFsKJz1t3aZw1M7E3Ryae37T50pTaYuSr8b6UCihNsf23T__QHDM9wsu5AQHvz8LO-oU7vLutWmlmT1EJFCHtjogttzoycfq1PEtpAAlMLJCICm0RecTRHkZw/s510/parti15.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;42&quot; data-original-width=&quot;510&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4dQigI-rnnttsKR8UrtnBYjUNpK9erBsas3FYf5Ki63Aa5rkLlKggtUrWkEJE0q5522SFsKJz1t3aZw1M7E3Ryae37T50pTaYuSr8b6UCihNsf23T__QHDM9wsu5AQHvz8LO-oU7vLutWmlmT1EJFCHtjogttzoycfq1PEtpAAlMLJCICm0RecTRHkZw/s1600/parti15.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Coinciden con los publicados en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A027187&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;span color=&quot;windowtext&quot;&gt;https://oeis.org/A027187&lt;/span&gt;&lt;/a&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Particiones con número impar
de elementos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Bastaría cambiar &lt;b&gt;&lt;i&gt;#p%2==0
por #p%2==1&lt;/i&gt;&lt;/b&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTGHfXQunNubwi3knpmoLDRQ1Cvp58cIrzC_nR7hFKL-1e_VN9XVWg63ULvtmDsOj7PEJRpS2eisEKAbojTNaTTWCG4gJG_LB0C7-EZhlB9Ej2vlOCKDdRHUWXBDfUWKrO6Q3RnBPjEovh4Ks8nG0WbaL-0Yhh_H8hG-dUcmAno3YrNRXlBvxXpFHts50/s459/parti16.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;37&quot; data-original-width=&quot;459&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTGHfXQunNubwi3knpmoLDRQ1Cvp58cIrzC_nR7hFKL-1e_VN9XVWg63ULvtmDsOj7PEJRpS2eisEKAbojTNaTTWCG4gJG_LB0C7-EZhlB9Ej2vlOCKDdRHUWXBDfUWKrO6Q3RnBPjEovh4Ks8nG0WbaL-0Yhh_H8hG-dUcmAno3YrNRXlBvxXpFHts50/s1600/parti16.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Publicados en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A027193&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;span color=&quot;windowtext&quot;&gt;https://oeis.org/A027193&lt;/span&gt;&lt;/a&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Podemos usar ambas situaciones en
funciones separadas, y experimentar algo con ellas. Por ejemplo, que las de
número par sean dos más que las de impar:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;a(n)
= {nb = 0; forpart(p=n, if(#p%2==0,nb+=1), , ); nb; } &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;b(n)
= {nb = 0; forpart(p=n, if(#p%2==1,nb+=1), , ); nb; } &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;for(i=1,100,
if(a(i)==b(i)+2,print1(i,”, “)))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;No tiene mucho interés, porque en
los primeros números solo se cumple en el 8 y el 10.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;También se pueden contar por
separado las particiones de cardinal par y las de impar en la misma función. La
siguiente busca si el número de particiones de orden par es dos unidades mayor
que las de impar en un mismo número &lt;b&gt;n&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;c(n) = {my(nb = 0,na=0);forpart(p=n,
if(#p%2==0,nb+=1,na+=1,), , ); nb==na+2 }&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;for(i=1,30, if(c(i)==1,print1(i,”, “)))&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Escasean también los resultados.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Lo dejamos aquí. Ya se ha abierto
una puerta a más experimentaciones.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Unos detalles para finalizar&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;PARI posee la función &lt;b&gt;&lt;i&gt;numbpart&lt;/i&gt;&lt;/b&gt;,
que cuenta el número de elementos de una partición. Este código elabora un
listado de los números con un número par de particiones distintas:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;a(n)={my(c);c=numbpart(n);if(c%2==0,return(c))}&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;for(i=1,50,if(a(i)&amp;gt;0,print1(i,&quot;,
&quot;)))&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY5u_x9KjwfNk1x62w0BNWDkNB2QdP_nzsmM9DmYJWTTxHzhN2_F2XtdoubY6U9tAd8HswByOfYRi0WMPHB7qB5lxGrY-rc2XYZF1iUVTshyphenhyphenzYkHPLBOYcVc-CD-o767G35I6ZQ8VFkJieJnEiBoHthE-pmuhVxmi5-6T9DY8_1HNvWpAyeP0MO_aHTek/s510/parti17.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;54&quot; data-original-width=&quot;510&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY5u_x9KjwfNk1x62w0BNWDkNB2QdP_nzsmM9DmYJWTTxHzhN2_F2XtdoubY6U9tAd8HswByOfYRi0WMPHB7qB5lxGrY-rc2XYZF1iUVTshyphenhyphenzYkHPLBOYcVc-CD-o767G35I6ZQ8VFkJieJnEiBoHthE-pmuhVxmi5-6T9DY8_1HNvWpAyeP0MO_aHTek/s1600/parti17.png&quot; /&gt;&lt;/a&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Particiones con producto
acotado&lt;/span&gt;&lt;/i&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En la primera parte de la
instrucción &lt;b&gt;&lt;i&gt;forpart &lt;/i&gt;&lt;/b&gt;se puede incluir toda una línea de código.
Esto permite calcular productos en las particiones y condicionarlos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Por ejemplo, lo siguiente
encuentra aquellas particiones de n=5 cuyo producto es mayor que 3. Es
importante destacar la forma en la que hay que usar las distintas partes de una
partición con &lt;b&gt;&lt;i&gt;Vec(p)[k])&lt;/i&gt;&lt;/b&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;a(n)
= { nn=0; forpart(p=n, pp=1;for(k=1,#p,pp=pp*Vec(p)[k]);if(pp&amp;gt;3,nn+=1;print(p);p));nn
}&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;print(a(5))&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Resultado:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpnz8MvgiKXju3pxj2q1pK7ZlySu4zs_XSzEQOumjAihnkdwthCjJdCEcAXIjOj97U23DRYscBuJ9qvmY49pLYreMny-BYC0Yrv4CAtdjNfKU5YPjCdyLfpEtmIFH-TDdXMK2ifXQ-ISQXqAwz6J6RzhGDlthMXZdB2yCnCuJKL_QbEBqF7nEo0ieH1RI/s485/parti18.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;87&quot; data-original-width=&quot;485&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpnz8MvgiKXju3pxj2q1pK7ZlySu4zs_XSzEQOumjAihnkdwthCjJdCEcAXIjOj97U23DRYscBuJ9qvmY49pLYreMny-BYC0Yrv4CAtdjNfKU5YPjCdyLfpEtmIFH-TDdXMK2ifXQ-ISQXqAwz6J6RzhGDlthMXZdB2yCnCuJKL_QbEBqF7nEo0ieH1RI/s1600/parti18.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Otro ejemplo: podemos reproducir el contenido de &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A319005&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;span color=&quot;windowtext&quot;&gt;https://oeis.org/A319005&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Number
of integer partitions of n whose product of parts is &amp;gt;= n.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1, 1, 1, 1,
2, 2, 5, 7, 13, 18, 28, 40, 60, 80, 113, 152, 205, 266, 353, 454, 590, 751,
959, 1210, 1529, 1905, 2381, 2953, 3658, 4501, …&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Usaremos &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;a(n)
= {nn=0; forpart(p=n, pp=1;for(k=1,#p,pp=pp*Vec(p)[k]);if(pp&amp;gt;=n,nn+=1));nn }&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;for(i=1,30,print1(a(i),&quot;,
&quot;))&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Resultado:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7H_2phaiVFo44IgLlYboUVrxQ9PhWt4PBXOZ5Ld9i4EfCJ3FxmQR3F4iXyMtpwmnQcLRstlZOnBl2k1SZHHu5LVgvXXJy6YuDcajzjr9qYg16YK27e9i7wqG5ZvRA_E2uX4Rex-jmQ_o2nhxxqapoAm4g_cUapJfCXOAItmrvyFpu2b-UtqCPSOYyftI/s476/parti19.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;48&quot; data-original-width=&quot;476&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7H_2phaiVFo44IgLlYboUVrxQ9PhWt4PBXOZ5Ld9i4EfCJ3FxmQR3F4iXyMtpwmnQcLRstlZOnBl2k1SZHHu5LVgvXXJy6YuDcajzjr9qYg16YK27e9i7wqG5ZvRA_E2uX4Rex-jmQ_o2nhxxqapoAm4g_cUapJfCXOAItmrvyFpu2b-UtqCPSOYyftI/s1600/parti19.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB; mso-no-proof: yes;&quot;&gt;&lt;v:shape id=&quot;Imagen_x0020_2&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 39.5pt; mso-wrap-style: square; visibility: visible; width: 397pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image015.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con estos ejemplos se reconoce la enorme capacidad de PARI
para manejar particiones. Paramos ejemplos por ahora.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/2961178545256362002/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/2961178545256362002' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/2961178545256362002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/2961178545256362002'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/10/regresos-16-3-particiones-condicionadas.html' title='Regresos 16 (3): Particiones condicionadas con PARI'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQvBFu2qPqfQP8Cc_s2JehgbZmduYXgSOfZzOcxgO9WpgLT3w9S3J6LhGRlxbOw2bx0AI8YCFCKxY-7Tqj4yGNPstJdvzD2PKYmAICwTkAnWETcWbZDFTztyztmPysvW8BNfumteiW_Ixtm-usdvoz2Jqxp_Mh2Lg0her67W9YhSg2XKuguyJBXj78Lt4/s72-c/parti55.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-5956009386593260863</id><published>2026-10-02T13:31:00.000+02:00</published><updated>2026-10-02T13:31:00.112+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Combinatoria"/><category scheme="http://www.blogger.com/atom/ns#" term="Particiones"/><category scheme="http://www.blogger.com/atom/ns#" term="Regresos"/><title type='text'>Regresos 16 (2): Particiones condicionadas. Algoritmo básico</title><content type='html'>&lt;p&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;En esta entrada se desarrollan
las ideas sobre punteros móviles para evitar el uso de múltiples bucles en
Combinatoria. Seguiremos actuando sobre particiones de un número.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Un ejemplo previo&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Supongamos que deseo descomponer
el número 50 en sumandos cuadrados, sin importarme el número de ellos que
usemos, pero que sea a lo más tres.&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Con Cartesius&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Esta herramienta no es
excesivamente amigable, pero la suelo incluir por sus prestaciones. En ella
podríamos plantear lo siguiente:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;xrango=3&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;xt=1..50&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;xt=filtro(cuadrado)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;creciente&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;suma=50&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;Estas condiciones, por orden, exigen que los sumandos sean
uno, dos o tres. Después se fijan los datos en el conjunto 1…50. Se les aplica
un filtro para quedarnos tan solo con los cuadrados, y, finalmente, se fija la
suma en 50 con sumandos crecientes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;El resultado es&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3ZSIprwO2s04x1FwGCoNIEILq8UEzk4MwE-pW16Vf1k86DwfqyX_zGoVK4Oe8za-eiOo2grJzl9xwBVxK9mC6zSHDTA14r7JchkdjxoEiKn6-jFSJN137_alzZmtj1tGkk7qNUEf2a4aeJgYMccBFii53RqogNnvE6nw9WIQWoO3j4vUv2ewcgh1-nYg/s220/parti2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;97&quot; data-original-width=&quot;220&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3ZSIprwO2s04x1FwGCoNIEILq8UEzk4MwE-pW16Vf1k86DwfqyX_zGoVK4Oe8za-eiOo2grJzl9xwBVxK9mC6zSHDTA14r7JchkdjxoEiKn6-jFSJN137_alzZmtj1tGkk7qNUEf2a4aeJgYMccBFii53RqogNnvE6nw9WIQWoO3j4vUv2ewcgh1-nYg/s1600/parti2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: center;&quot;&gt;&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_i1028&quot; style=&quot;height: 72.5pt; mso-wrap-style: square; visibility: visible; width: 165pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;Cartesius solo llega a conjuntos
de 12, luego necesitaremos, si deseamos trabajar con Excel, otra herramienta distinta.
Es lo que voy a presentar ahora, para destacar la conveniencia del uso de
punteros. En negrita y cursiva figura el código, y en tipo normal los
comentarios.&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Con el Buscador&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Este código de algoritmo puede
resultar pesado o difícil, por lo que quienes sólo deseen estudiar los ejemplos
lo pueden ignorar. Es interesante porque permite, con ligeros retoques, su
adaptación a muchas situaciones.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;Sub particion()&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&#39;Devuelve el número total de particiones condicionadas y su
desarrollo&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;Dim pp, i, j, contador, tope, fila, n, final, suma&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;Dim e(1000), su(1000)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;Dim seguir As Boolean&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;Dim s$ &lt;/i&gt;&lt;/b&gt;‘Contenedor de particiones&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;‘Lee el número y el tope de las particiones&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;n =
ActiveWorkbook.Sheets(3).Cells(4, 7).Value&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;tope
= ActiveWorkbook.Sheets(3).Cells(5, 7).Value&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;Call borrarango(&quot;e6:i2000&quot;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;fila = 8&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;final
= n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;For
i = 1 To n &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&#39;Inicios&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;e(i) = 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;su(i) = 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;su(i) = i&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;Next
i&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;fila = 8 ‘&lt;/i&gt;&lt;/b&gt;Inicio de la presentación de
resultados&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;For i = 1 To n &#39;Inicios&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;e(i) = 0 &lt;/i&gt;&lt;/b&gt;‘Este
vector sigue a los sumandos en la tabla&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;su(i) = 0, &lt;/i&gt;&lt;/b&gt;Contenido de la celda que señala
el puntero&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;Next i&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&#39;Restricciones o filtros En el ejemplo, que sean cuadrados&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;i =
1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;While
i &amp;lt;= final&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;If
Not escuad(su(i)) Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;For
j = i To n - 1: su(j) = su(j + 1): Next j&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;final = final – 1 &lt;/i&gt;&lt;/b&gt;‘Elimina los que no valen&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;Else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;i =
i + 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;End
If&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;Wend&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;If
Not escuad(su(final)) Then final = final – 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;‘Final es el máximo número de sumandos&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;contador = 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;pp = 1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&#39;inicio
de puntero&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&#39;Aquí inicios varios según el problema a tratar&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;suma = 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;While pp &amp;gt; 0 &lt;/i&gt;&lt;/b&gt;&#39;puntero activo((va marcha
atrás en ese paso)&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;‘El puntero va y viene mientras sea positivo y no sobrepase
los topes&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;e(pp) = e(pp) + 1 &#39; &lt;/i&gt;&lt;/b&gt;avanza en columna dentro
del puntero&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;suma = suma + su(e(pp))&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;seguir = False &lt;/i&gt;&lt;/b&gt;&#39;determina si se sigue o no en
la misma columna de datos&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;If e(pp) &amp;gt; final Or suma &amp;gt; n Or (pp &amp;gt; 1 And
e(pp) &amp;gt; e(pp - 1)) Then seguir = True &lt;/i&gt;&lt;/b&gt;&#39;Se ha llegado al tope del
rango de datos, y hay que seguir con otra columna&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;If seguir Then &lt;/i&gt;&lt;/b&gt;&#39;Seguir significa retroceder
el puntero e iniciar su contenido&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;e(pp) = 0:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;pp
= pp - 1: suma = 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;Else&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&#39;Hay algo que comunicar sobre el conjunto, quizás una
solución, un mensaje o un añadido&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;suma = 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;For j = 1 To pp: suma = suma + su(e(j)): Next j&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;If
suma = n And pp &amp;lt;= tope Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;contador = contador + &lt;/i&gt;&lt;/b&gt;1’Una solución&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;fila = fila + 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;s =
&quot;&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;For
j = 1 To pp: s = s + Str$(su(e(j))): Next j&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;ActiveWorkbook.Sheets(3).Cells(fila,
6).Value = s&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;End
If&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;If
pp &amp;lt; n Then pp = pp + 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;End
If &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&#39;Nivel 1&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;If
pp &amp;lt; n Then pp = pp + 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;End
If &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;Wend&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&#39;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;Operaciones finales&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;ActiveWorkbook.Sheets(3).Cells(5,
5).Value = contador&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 6.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;End
Sub&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;El ejemplo actual se resuelve
cambiando las restricciones (en este caso&lt;i&gt; &lt;/i&gt;&lt;b&gt;escuad()&lt;/b&gt;)&lt;b&gt;, &lt;/b&gt;porque
deseamos que los sumandos sean cuadrados. El resto, valor de &lt;b&gt;n&lt;/b&gt; y del &lt;b&gt;tope&lt;/b&gt;,
se leen en el Buscador.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTVn43DclygNv-tuXGjuYuPA407h4kcDBUNvdNZ2j6kAhxM2vt-c3FrYi6Xe6I7HdfT-nvkG2g78hRbmFQSR9g3fOoK2aTsZnahUyfnq-54_3RH5pL0X6n9WXOb_Bn9R86Jb5W-cg2xMhUYLvUA11qIIsuKTw7HuRgP1xoXcfj-4L5eaneGCxJpyFqOIA/s335/parti3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;94&quot; data-original-width=&quot;335&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTVn43DclygNv-tuXGjuYuPA407h4kcDBUNvdNZ2j6kAhxM2vt-c3FrYi6Xe6I7HdfT-nvkG2g78hRbmFQSR9g3fOoK2aTsZnahUyfnq-54_3RH5pL0X6n9WXOb_Bn9R86Jb5W-cg2xMhUYLvUA11qIIsuKTw7HuRgP1xoXcfj-4L5eaneGCxJpyFqOIA/s1600/parti3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Al pulsar en el botón de búsqueda
obtenemos la solución deseada:&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTT6nhHKb6_q6K5s6wywqz8lu45z7cFP1Vv0G8hvndHkAj0siN7svmmq0IvEvzy67QAfaMwT5BF9tkYKz1oPnqZRHKPDb9OqbPf7UuYiKV5I1JuSYfXJu3Kf79N0np_BKNVwrZ4nrwrTWsmjneZQ2CLvDuu_Mw8nCtNlNjCtOq6S1QZ4t9FghUsxv0U5I/s327/parti4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;165&quot; data-original-width=&quot;327&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTT6nhHKb6_q6K5s6wywqz8lu45z7cFP1Vv0G8hvndHkAj0siN7svmmq0IvEvzy67QAfaMwT5BF9tkYKz1oPnqZRHKPDb9OqbPf7UuYiKV5I1JuSYfXJu3Kf79N0np_BKNVwrZ4nrwrTWsmjneZQ2CLvDuu_Mw8nCtNlNjCtOq6S1QZ4t9FghUsxv0U5I/s1600/parti4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;&lt;v:shape id=&quot;Imagen_x0020_2&quot; o:spid=&quot;_x0000_i1026&quot; style=&quot;height: 123.5pt; mso-wrap-style: square; visibility: visible; width: 245pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-weight: bold;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Abajo aparecerán las soluciones
y, a la izquierda del tope, el número de ellas, que aquí son 3.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;La ventaja de este algoritmo es
que puede devolver particiones superiores a 12, que es la limitación de
Cartesius. También es más rápido.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;En la imagen podemos observar las
particiones de 100 en trece elementos que son cuadrados pares:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8XD6IWjDi29pbXiHu__i4gI8z4fuqH6SaYzQlmtlAi5ClMWpn3fHSKMTSKyNxg2LSTI9KpnfMd9xRjBO_BoH51j2CiqQI1Qxdq5NyMyBMf6jSvnjTuVy9m-N71LC_l4JUcJD5QSkKIfjaZbQUkohVfeGx3H2aCE-jgNIBQYCADkK8Z8fR7rfltexXyos/s288/parti5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;269&quot; data-original-width=&quot;288&quot; height=&quot;269&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8XD6IWjDi29pbXiHu__i4gI8z4fuqH6SaYzQlmtlAi5ClMWpn3fHSKMTSKyNxg2LSTI9KpnfMd9xRjBO_BoH51j2CiqQI1Qxdq5NyMyBMf6jSvnjTuVy9m-N71LC_l4JUcJD5QSkKIfjaZbQUkohVfeGx3H2aCE-jgNIBQYCADkK8Z8fR7rfltexXyos/s1600/parti5.png&quot; width=&quot;288&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;text-align: left;&quot;&gt;Han resultado trece particiones.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;En la siguiente entrada acudiremos mayoritariamente a la
instrucción de PARI &lt;b&gt;&lt;i&gt;forpart&lt;/i&gt;&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/5956009386593260863/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/5956009386593260863' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/5956009386593260863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/5956009386593260863'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/10/regresos-16-2-particiones-condicionadas.html' title='Regresos 16 (2): Particiones condicionadas. Algoritmo básico'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3ZSIprwO2s04x1FwGCoNIEILq8UEzk4MwE-pW16Vf1k86DwfqyX_zGoVK4Oe8za-eiOo2grJzl9xwBVxK9mC6zSHDTA14r7JchkdjxoEiKn6-jFSJN137_alzZmtj1tGkk7qNUEf2a4aeJgYMccBFii53RqogNnvE6nw9WIQWoO3j4vUv2ewcgh1-nYg/s72-c/parti2.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-1114935290789139702</id><published>2026-09-24T13:30:00.000+02:00</published><updated>2026-09-24T13:30:00.177+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Combinatoria"/><category scheme="http://www.blogger.com/atom/ns#" term="Particiones"/><category scheme="http://www.blogger.com/atom/ns#" term="Regresos"/><title type='text'>Regresos 16 (1): Particiones condicionadas de un número natural</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;En el año 2017 publiqué en mi
blog “Números y hoja de cálculo” (&lt;/span&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: windowtext;&quot;&gt;https://hojaynumeros.blogspot.com/&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;) una
serie de estudios sobre particiones de un número obtenidas mediante mi
herramienta Cartesius.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Quedé bastante satisfecho, pero
echaba de menos poder estudiar las particiones de un número (formas de
descomponer un número natural en sumandos) para valores mayores que doce, que
es el máximo que me permitía Cartesius. He despojado los algoritmos de esta
herramienta de muchas opciones, y me he quedado con lo imprescindible para
calcular números de particiones condicionadas. Sigue siendo un proceso lento,
pero me permite, con paciencia, abordar cálculos para números mayores que doce.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Lo he incorporado a la hoja
“Buscador”, que tengo preparada para su descarga gratuita (&lt;a href=&quot;https://www.hojamat.es/blog/buscador1.xlsm&quot;&gt;&lt;span style=&quot;color: windowtext;&quot;&gt;https://www.hojamat.es/blog/buscador1.xlsm&lt;/span&gt;&lt;/a&gt;),
y con ella, y sin abandonar Cartesius, ampliaré los trabajos del año 2017.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Tres herramientas&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Esta va a ser una serie de
entradas, por lo que es conveniente realizar una presentación previa de las
mismas. En primer lugar, hay que advertir que el espíritu de ellas es el de
aprendizaje y ejercitación. En este tema está todo publicado, y desde este blog
poco se puede añadir, pero sí resulta atractivo cotejar distintos métodos para
llegar a un mismo objetivo.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;El mejor y
más aconsejable sería el de trabajar con papel y bolígrafo, que es como mejor
se aprende, pero al final se terminará recurriendo a herramientas informáticas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Usaremos, de forma más o menos
simultánea, tres herramientas básicas:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Cartesius&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Es mi herramienta tradicional
para construir productos cartesianos condicionados. En el tema de particiones
ya he publicado muchos ejemplos, y resulta bastante sencilla de entender. Sus
condiciones resultan claras.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Descargable desde &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://www.hojamat.es/sindecimales/combinatoria/herramientas/herrcomb.htm#cartesius&quot;&gt;&lt;span style=&quot;color: windowtext;&quot;&gt;https://www.hojamat.es/sindecimales/combinatoria/herramientas/herrcomb.htm#cartesius&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Buscador&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En el archivo descargable
presentado más arriba he situado, en su tercera hoja, una subrutina para
realizar el mismo trabajo que el de Cartesius, pero que no sufre la restricción
de las doce columnas. Resulta también más rápida, ya que el que no sea tan general
le dota de más velocidad, pero nunca suficiente, porque todos los temas de
Combinatoria acaban por abordar cálculos que resultan muy lentos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dirección de descarga: &lt;a href=&quot;https://www.hojamat.es/blog/buscador1.xlsm&quot;&gt;&lt;span style=&quot;color: windowtext;&quot;&gt;https://www.hojamat.es/blog/buscador1.xlsm&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;PARI&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Este lenguaje posee herramientas
potentes y rápidas, aunque adolece de falta de presentaciones intuitivas. Está
dirigido a profesionales, pero en este blog le hemos conseguido mucha utilidad.
Su orden FORPART será un pequeño tesoro para comprobar cálculos o ampliarlos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Página web: &lt;a href=&quot;https://pari.math.u-bordeaux.fr/gpwasm.html&quot;&gt;&lt;span style=&quot;color: windowtext;&quot;&gt;https://pari.math.u-bordeaux.fr/gpwasm.html&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #660000; font-family: inherit;&quot;&gt;Algoritmo básico&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Las particiones actúan sobre
conjuntos de sumandos. Por ejemplo, si deseo descomponer el número 20 en cuatro
sumandos primos, deberé usar el conjunto (2, 3, 5, 7, 11, 13, 17, 19). El
resultado final es que existen 6 particiones distintas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #0c343d;&quot;&gt;Particiones condicionadas&amp;nbsp; &amp;nbsp;&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Número:&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;20&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Número de particiones: 6&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Conjunto de particiones: 5 5 5 5,
7 5 5 3, 7 7 3 3, 11 3 3 3, 11 5 2 2, &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;13 3 2 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En algunas ocasiones, el número
de particiones condicionadas proviene de operaciones sobre conjuntos de números
sometidos a alguna operación (condición previa). Por ejemplo, podemos estar
interesados en particiones en las que las partes sean todas libres de
cuadrados, o que pertenezcan a la sucesión de Fibonacci. Esta será la condición
previa en cada caso.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;El manejo de cuatro números que
no tienen que guardar relación entre ellos nos lleva, en el nivel elemental de
algoritmos en el que se mueve esta serie, a usar bucles anidados: FOR I=12
T0…FOR J=12 TO…FOR K=12 TO… Esto supone una gran ineficiencia y poca
versatilidad, porque el número de bucles debería adaptarse a cada ejemplo
determinado.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Desde hace muchos años llevo
usando &lt;i&gt;punteros&lt;/i&gt; sobre una matriz rectangular (es una imagen para
entendernos) en el que van avanzando por los distintos elementos llevando algún
tipo de recuerdo de los que ya han visitado. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Concretando el ejemplo del primer
párrafo, imaginemos que estudiamos el rango de números entre 40 y 50, y
buscamos en ellos conjuntos de cuatro números con la propiedad pedida.
Llamamos, por ejemplo, INICIO al valor mínimo (40 en este caso) y TOPE o FINAL
al último (50). Por otra parte, daremos el nombre de NUME al número de
elementos que tendrán nuestros conjuntos. Desde INICIO hasta final llamaremos
E(I) a cada valor concreto de un elemento. En la imagen que sigue sería una
columna, mientras que horizontalmente se representarían los elementos elegidos
de izquierda a derecha, que será el “movimiento” que tendrá el puntero. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsRRX_N4KG3g4RqxtCjEvC-P8G-3mMkWLK1eqvc1vkhenhME2YPCbCrAefk5pB0QkViC0PajFAn2lL506bxjnr4T7DZcOkw5k8xNw62VFwgJ683I8POrEz3Fbk4hBjLOF1-XI5R8V-LPlMr8U42xDVx3bEp_BcJ4hqQiiahu1RmZ8xf5pUcLZWBRIHQGQ/s295/parti1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;260&quot; data-original-width=&quot;295&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsRRX_N4KG3g4RqxtCjEvC-P8G-3mMkWLK1eqvc1vkhenhME2YPCbCrAefk5pB0QkViC0PajFAn2lL506bxjnr4T7DZcOkw5k8xNw62VFwgJ683I8POrEz3Fbk4hBjLOF1-XI5R8V-LPlMr8U42xDVx3bEp_BcJ4hqQiiahu1RmZ8xf5pUcLZWBRIHQGQ/s1600/parti1.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape alt=&quot;Tabla

El contenido generado por IA puede ser incorrecto.&quot; id=&quot;Imagen_x0020_1&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 195.5pt; mso-wrap-style: square; visibility: visible; width: 221.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;Tabla

El contenido generado por IA puede ser incorrecto&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Al principio cuesta un poco
entender la dinámica de este proceso, pero compensa el no tener que anidar
bucles. En mis herramientas de ayuda a la enseñanza lo he usado, entre otros,
en estas tres:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Combimaq (&lt;/b&gt;&lt;a href=&quot;https://www.hojamat.es/sindecimales/combinatoria/herramientas/herrcomb.htm#combimaq&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: windowtext;&quot;&gt;https://www.hojamat.es/sindecimales/combinatoria/herramientas/herrcomb.htm#combimaq&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;b&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Cartesius&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;(&lt;/b&gt;&lt;a href=&quot;https://www.hojamat.es/sindecimales/combinatoria/herramientas/herrcomb.htm#cartesius&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: windowtext;&quot;&gt;https://www.hojamat.es/sindecimales/combinatoria/herramientas/herrcomb.htm#cartesius&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;b&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Partlista (&lt;/b&gt;&lt;a href=&quot;https://www.hojamat.es/sindecimales/aritmetica/herramientas/herrarit.htm#reprenum&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: windowtext;&quot;&gt;https://www.hojamat.es/sindecimales/aritmetica/herramientas/herrarit.htm#reprenum&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;b&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En la siguiente entrada se
desarrollarán estas ideas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/1114935290789139702/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/1114935290789139702' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/1114935290789139702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/1114935290789139702'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/09/regresos-16-1-particiones-condicionadas.html' title='Regresos 16 (1): Particiones condicionadas de un número natural'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsRRX_N4KG3g4RqxtCjEvC-P8G-3mMkWLK1eqvc1vkhenhME2YPCbCrAefk5pB0QkViC0PajFAn2lL506bxjnr4T7DZcOkw5k8xNw62VFwgJ683I8POrEz3Fbk4hBjLOF1-XI5R8V-LPlMr8U42xDVx3bEp_BcJ4hqQiiahu1RmZ8xf5pUcLZWBRIHQGQ/s72-c/parti1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-4701477600861282253</id><published>2026-09-14T12:31:00.000+02:00</published><updated>2026-09-14T12:31:00.161+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Combinatoria"/><category scheme="http://www.blogger.com/atom/ns#" term="conjuntos"/><category scheme="http://www.blogger.com/atom/ns#" term="Teoría"/><title type='text'>Submulticonjuntos (2)</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&amp;nbsp;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: inherit;&quot;&gt;Representación
numérica de un multiconjunto&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con lo visto hasta ahora
en la anterior entrada, lo esencial en un multiconjunto lo constituyen las
multiplicidades. La naturaleza de los elementos no influye apenas en los
conteos. Es un fenómeno similar a la descomposición en factores primos, que
muchas funciones dependen tan solo de los exponentes. Esto nos permite
representar un multiconjunto como un número, de forma unívoca. De las
posibilidades existentes (hay variantes en la tarea de representar un
multiconjunto mediante un número, como, por ejemplo, los números de Heinz),
elegiremos aquí las siguientes:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;text-align: justify; text-indent: -18pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; font-weight: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;Ordenamos las
multiplicidades de mayor a menor (para que el número resultante sea lo más
pequeño posible)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify; text-indent: -18pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; font-weight: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;A cada
multiplicidad correspondiente a un elemento dado le asignamos un número primo
repetido, siguiendo el orden natural (algunos autores comienzan con el 1). En
caso de empate, no hay problema, porque resulta el mismo número.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;text-align: justify; text-indent: -18pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; font-weight: normal; line-height: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;Si multiplicamos
todos esos primos, resultará un número que poseerá una relación biunívoca con
el conjunto.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Por ejemplo, en la palabra
ZARAGOZA ordenamos las multiplicidades vistas en la entrada anterior: 3 de A, 2
de Z y 1 del resto de caracteres, R, G y O.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Sustituimos cada
multiplicidad por números primos repetidos y ordenados:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2*2*2*3*3*5*7*11=27720.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Este número identifica, de
forma unívoca, a todos los multiconjuntos con la serie de multiplicidades 3, 2,
1, 1, 1. Cada submulticonjunto de ellos se relacionará con un divisor de 27720,
por el criterio general de divisibilidad, en el que los factores primos de los
divisores son subconjuntos de los correspondientes en 27720.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Pedimos los divisores de
27720 con bigomega=3 (tres factores primos) en cualquier buscador, o con la
función siguiente:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Function dosfact$(n,
k)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim i&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;s = &quot;&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;For i = 2 To n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If n / i = n \ i Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If bigomega(i) = k
Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;s = s + ajusta(i) +
&quot;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End If&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End If&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Next i&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;dosfact = s&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;La aplicamos a 27720 con k=3,
por ejemplo, y resultan 19 divisores:&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;8&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;12&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;18&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;20&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;28&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;30&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;42&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;44&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;45&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;63&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;66&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;70&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;99&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;105&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;110&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;154&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;165&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;231&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;385&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Ahora usamos la técnica de
las combinaciones acotadas que vimos en la entrada anterior, con Cartesius:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;xtotal=3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;xt=2,3,5,7,11&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;creciente&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;contar(2)&amp;lt;4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;contar(3)&amp;lt;3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;contar(5)&amp;lt;2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;contar(7)&amp;lt;2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;contar(11)&amp;lt;2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Coincide el número de
submulticonjuntos de tres elementos:&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id=&quot;_x0000_t75&quot; coordsize=&quot;21600,21600&quot;
 o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; filled=&quot;f&quot;
 stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt;
 &lt;/v:formulas&gt;
 &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt;
 &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt;
&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Imagen_x0020_1&quot; o:spid=&quot;_x0000_i1026&quot; type=&quot;#_x0000_t75&quot;
 style=&#39;width:128pt;height:220.5pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img height=&quot;294&quot; src=&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAG5CAMAAABWaRrpAAAAAXNSR0ICQMB9xQAAAO1QTFRFAAAAGAAAAAAfAAEAAQAAHwAAAQAfAQEAHwAfHx8fGAA7AAA7AQA7AQE7HwA7AB9jAR9jADuPATuOGGO4GGO3H2O4H2O3LQAALQEBLQEAIAEBPAEBIAEAOwEAOwAALWNjIGO4LY/YO4/YO4/XO47XRh8ARh8BRiABRrfXRrjYYx8AZDsAZDsBYyABY7jYY7fXY7fYZNjYZNfYjzsAjzsBjzwBh2Mfh9iPh9jYh9fYj9jYj9fYuGMfuGMgqI87qLhjvb29qNiPqNi4qNjYt9jYt9fXuNjY2I872I882Lhj2NiP2Ni42NjY19fY19jYY3TCOgAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAABl0RVh0U29mdHdhcmUATWljcm9zb2Z0IE9mZmljZX/tNXEAAAnnSURBVHja7Z1rWxNHGIYXDIJFpbEF6gGqID0g1VYObXHlZNtNlpH//3O6s7NJNsGrH9jnyTVv55nrUqMfHoc7O5PdOzPvZK5pFw7XkFnMbJ+VCYAACIAACIAACIAACIAACIAAJAngomlZqm1EI/uUZhMAARCACYDzhbU//D+eZK/8H+df/Xb34HbW1V412XyD6/RUP0+ybPEn1BVwVnfzfKHu7OXmagcArayrvcWfq372cQRa/TypOnlW5YOGwJsq7mqvH/6TrBOASdb5gr+gTrqlTbeD1fch+/K7CkLTYwSAy81+09MK8lm3Lk+ywrvW4W26nf20nQ0EUL1b39fvV93lju9ZOytcEMhpoJV9ghsCfk4Zz1ZdAbSzmmGLa5Pss3vZt59gAKoJe/xjdwUwlYWcA5vs95O/hE8FBIA3a79v9kEAWlno999nP50g7TC/zAA4qz5Zx53tCKCVdYL++af6OfqcAQA4X/BU3zQ8uwFoZTU3VrgWsg+q7PCjd+jpFICrvTrocjMMqU4AWlnNjRVyAgjZT9f+/HRQ/br64e7/QRtANbG8as9YXQC0s07CgzfsPuDqx1H2vaqfB1X03S+wKz0MCYAAJA5AUlTfCwiAAAiAAACCr/erKXWdAwCZXWdtfIYDuN5ffOvyrM8AgMyusz72+jdoAMOlner3fPWUAACZPXy2W2d94MwBRYWXNQcgs4v7bzkADilXAD77iHQFFGGmogBAZhe9cRYUQBHmKQoAZHYR5kA4gOY9ogBAZjfvPxxAPuojAQAyO++1s3AA8mzHsQAgs/Ns1zEADJfWHQsAMnu4FO4C4QDyRv0y7gOQ2R+Xp7P0MCQAApA4gIvEm64AARAAAcAEW5GiLl/OFt/hAViRorUOHNx/BwdgRYqWz9c9UbwVDs2IFOUBMCJF85plslJ0sMz4Zij00YYUdde/rP3l0pWiPu7+ry5ZKerbcGnXJSpFhy9e+yvgIfybIStS1B1//Xc1B+C/GbIiRSsCvawx43oYEgABkBPUFSAAAiAAAgAJtiJFyy1/V4k3Qmak6HDlLeUKsCJFmwdB1hxgQIrm/c9EAAak6NEDv1r8hgPAgBQtn6/9Uz0Sb1C0uBkpyjBCzpQUZThBW1J0Bb9MzowU3XWJS9En1cfg8UvnJEX1MCQAAiAAssK6AgRAAAQAE2xEig7CnqEM/jRoRor6Vm6lu32+bmH3fLorRUdPl8muFA2b59NdKVpucTZPm5GioXyES1eKHnkxTgBgRYqOR0Ci2+cbJQ4HYEaKTqaAVKXox0cfKEOg1fQ0KACGAMgJaggIgAAIgAAkIUWHj09HLwhCJH4pWm6vBgDlFsMIRS9FiywLAIpeRlNiEUvRwfJ6UQPwLx7SAEQtRYtmCDgegLilKB9A5FKUDiB2KcoGEL0UJQOIX4pyARiQolwABqTo4NHp6AXtPoA1B3CyBUAAJEUlRQVAAARAADDBTCnq7wVDCcA0a4rWOrCYFEHsmGWvpmi9qud6HwLXbk1REIBRlr2aojloCMxkWZGiRQ83wdqsKVpdtvX6xlRrijr0YWvGaor6Fj5nkqwpGn70AnPeoMWaovXy5ut9zARrsaZoRaCK3gHB1fb5qSwBSB6ApKiGgAAIgAC4hJygxZKaUCdosaQm0gnaLamJAmC2pCbKCRotqQlzgmZLakKdoMGSmuD5xVxJzdBpoBO0VVIT6wQNltTEOkGDJTXlBEnZAiAAcoJyggIgAAIACjbiBE1WlIQ6Qd+sVZSEOsEA1GBFSSAAmxUlgesELVaURK4TtFlREugETVaURM4vFitK+oZyggYrSiKdoMmKklAnaLGiJNYJqqLkVJYAJA9ATlBDQAAEQAAEQAAE4P+uxavu7Yxf7RIARK7Fi/HTVDFeH5GSFh8+Wy8CAP+qxwDQgI5XixdjYcMEELEWnwuAmLX4PABErcXnACBuLc4HELkWpwOIXYuzAUSvxYts92YE4PUNHkDcWnz4rO5dxXHySg9DAiAAAiAA+mJEV4AACIAAYIKZVrjcroseILJtLpaeKXrQHaixxdKTsyFSXSyd92+Q/bS3WPrwAXR+MbdYutzyj++HqGyji6VhK0XNLpaG1Q8wu1h6BTPBarG0xcXS/mPwSIulMQC0WHoqSwCSByAnqCEgAAIgAAIgAAKQgBYfPj4dvSAosfi1eLnduOVya5Vy8HLkWrzIspBS9DKaFI1Yiw+W1wNG/+IhDUDUWpx9+ryLXYvzAUSuxekAYtfibADRa3EygPi1OBeAAS3OBWBAiw8enY5e0O4DmHMAp58CIAACkDgAfTGiISAAAiAALm4r7Is+ZM3NcJpW2Ldyu2O2ZSvsxtGJWmE3vcD5Ls22FR4nJ2qF6wHc3TeatsJNFaF0rfBhe4FzpACYVng8AtK0wqMP2agBUK3wZApI1Qrn4+/HZYXBWQKQPAA5QQ0BARAAAXCYZwHUiXDU7HKrXnWKP3wdfSIcK3tm1SkMQP28hjwRbupNA2aPHgQocwAJADQ773/mAchJQwCZfeRXnW7cMAAUvNriuNPmyufeLR1v3DjOEECdCEfODhOBrdLa0OywhZ4AAFblgZw9WXUK/mqsoHwxgswevtglDYFD5IlwMw152tzxk+pj8Pilww+BQ2CRg1sEgNnH4xMW9DAkAAIgJ6grQAAEQABAwTacIK2oqhkn6BujqKoZJxiAkoqqWnCCjllU1YITdLyiqiacoGMWVTXiBGlFVZ0RJ8gqqhqml/idIKmoqhUnSCuqasYJsoqq2nGCKqo6lSUAyQOQE9QQEAABEACXhBPk7h2O3wmS9w5H7wTnsnc4Yic4n73DcTvBOewcjdsJzmHzdNxOcA4A4naC8wAQtRNkb52N3gmSr4D4nSB7CETvBLV3+EtZApA8ADlBDQEBEAABcJE7QQuHr1OdoIXD15lO0M7h6ywAZg5fZzlBI4ev05ygmcPXqU7QwOHrjusEoz98HdrJL2XHffi61glSnaCBw9e1TrDV9DQoAIYAyAlqCAiAAAiAS8IJGl4naOHk6eidoOl1gmZOno7bCdpdJ2jm5OnInaD1dYLRnzwN6eR/Zcd98rTWCcbvBLVOUOsEv5AlAMkDkBPUEBAAARAAF7cTNHHuMNUJ+hb7ucNUJzgC7BLeO2zj3GHi3mEL5w4z9w7bOHeY6ARNnDvsiE7QwrnDYariOEED5w4znaCJc4epTtDCucNcJ6hzhx2rnwKQPAA5QQ0BARAAAUAEA/f3zjYbThC9v/c24LidIHx/72yL3gnmfeocEL8TBO/vvRUfuxMst6H7e2/Hm3CCNCFixgnSlsmZcYIrHCkqJ2jBCfqPwUM5QQ4AOUHH6qcAJA9ATlBDQAAEQAAEQAAEQAASBfAvJaxP38lUN5oAAAAASUVORK5CYII=&quot; v:shapes=&quot;Imagen_x0020_1&quot; width=&quot;171&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Son también 19.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Cálculo directo&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Usando la técnica combinatoria
de eliminar combinaciones prohibidas resultaría:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Combinaciones con repetición: &lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;COMBINAT(5+3-1;3) = COMBINAT(7;3
= 35&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Hay que restarle uno por la
combinación prohibida (3,3,3) y para el 5, 7 y 11, cinco cada uno para eliminar
aquellos en los que están repetidos: (5,5,2), (5,5,3), …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En total: 35-1-5-5-5=19&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;Para casos más complicados
habría que acudir a técnicas parecidas al Principio de Inclusión y exclusión, sumando
y restando posibilidades. Para cálculos mediante fórmulas directas, las
incluidas en &lt;/span&gt;&lt;a href=&quot;https://arxiv.org/abs/2009.01233&quot;&gt;&lt;span style=&quot;color: windowtext; line-height: 115%;&quot;&gt;https://arxiv.org/abs/2009.01233&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;, &lt;b&gt;&lt;i&gt;m-submultisets
and m-permutations of multisets elements&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Para encontrar el número total
de submulticonjuntos sustituiríamos XTOTAL=3 en Cartesius por XRANGO=8, que los
abarca todos menos el conjunto vacío. Resultan 95.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;Imagen_x0020_2&quot; o:spid=&quot;_x0000_i1025&quot;
 type=&quot;#_x0000_t75&quot; style=&#39;width:68.5pt;height:35.5pt;visibility:visible;
 mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img border=&quot;0&quot; height=&quot;47&quot; src=&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIkAAABHCAMAAAAEGJQ/AAAAAXNSR0ICQMB9xQAAAJxQTFRFAAAAEwAAAAATABMTExMTAAArABMrABNaEytaACuUEyuUE1rHKxMAKwAAKxQTKysTK1qUK1rHK5THK5TmWhMAWisAWisTWlorWpTHWsfmWsfllCsAlCsTlFoTlJRalMeUlMfmlObmtebmx1oTx1oUx1orx5Qrx5Ra09PTzMzMx8fHx+bmx+Xm5pQr5sda5sfH5uaU5ubH5ubm5eXmONgJuAAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAABl0RVh0U29mdHdhcmUATWljcm9zb2Z0IE9mZmljZX/tNXEAAAGFSURBVGje7dfbUsJADADQUG2hlHqrFxDUFgSLtbW7/P+/maTr4IM6Osw065g8QJk+7JlNNmShLEvbZ2y/egEqUYlKVKISlahEJSpRya8kWy8CvlH2vCcqUYlKDpLMwUWyf/e6yPY/mkFYSEnMJUhIeK1g9vGVvKSZAERTggCEhVng16iSkNRdli6cpEtbLCBpU4grc0e7Qdlp0zC3a/zVv6RbET2ZqxNzfwoikhpoRVQkLOEyAR/2pIbg7LmGYSVcJ4ldQVSYKxHJ+9nJuNsFNyCWHWufun7CjSXM1wOIHtJg1qekn1CJSg6TYHhy81ouwZM9Ucl/ldBIEd1a202iPG7ISLr13R+8qARnmxnOF0Max/FDMDsrQuAgXOBTvPNAgumZwxHA+EVMgtmZIofnUArOkGDFoqQ9QdKG50DBUzyauDsuj8WSnY0qtjnGqnXXJxFJQ9uBx4baSbLbcGeR7myPXC9jsbNjzTV2+5ye8IYQnMv1k09DJX9T4s9ErfcdlfxA8gYvfxMobQmPuQAAAABJRU5ErkJggg==&quot; v:shapes=&quot;Imagen_x0020_2&quot; width=&quot;91&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si contamos el conjunto vacío,
serían 96, representado en los divisores de 27720 por el número 1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si ahora calculamos la función
TAU (número de divisores) por su fórmula, usando las multiplicidades, resulta:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;TAU(27720)=(1+3)(1+2)(1+1)(1+1)(1+1)=4*3*2*2*2=96&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;El paralelismo entre
subconjuntos y divisores queda comprobado. Es interesante.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/4701477600861282253/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/4701477600861282253' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/4701477600861282253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/4701477600861282253'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/09/submulticonjuntos-2.html' title='Submulticonjuntos (2)'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-4748937938989333862</id><published>2026-09-07T12:30:00.000+02:00</published><updated>2026-09-07T12:30:00.121+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Combinatoria"/><category scheme="http://www.blogger.com/atom/ns#" term="conjuntos"/><category scheme="http://www.blogger.com/atom/ns#" term="Teoría"/><title type='text'>Submulticonjuntos (1)</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;Un &lt;/span&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;i&gt;multiconjunto&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;
(&lt;/span&gt;&lt;i style=&quot;font-family: inherit; text-align: justify;&quot;&gt;multiset&lt;/i&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt; en inglés) es un conjunto en el que se permite la repetición
de algunos o todos sus elementos un número determinado de veces, llamado &lt;/span&gt;&lt;i style=&quot;font-family: inherit; text-align: justify;&quot;&gt;multiplicidad&lt;/i&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;
del elemento. Al conjunto de elementos tomados sin repetición se le llama conjunto
&lt;/span&gt;&lt;i style=&quot;font-family: inherit; text-align: justify;&quot;&gt;subyacente&lt;/i&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;,&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Un
ejemplo claro son los conjuntos de tiradas en Combinatoria, las extracciones de
bolas con repetición o el conjunto de los factores primos de un número. En
todos ellos se permite que algunos elementos estén repetidos, Otro ejemplo
típico es el las letras de una palabra. Por ejemplo, las letras de la palabra
ZARAGOZA. Aquí se permite que la Z se repita dos veces y la A tres. Su conjunto
subyacente es ZARGO.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Formalmente,
un multiconjunto es un conjunto de elementos que son pares del tipo &lt;i&gt;(elemento,
multiplicidad). &lt;/i&gt;Por ejemplo, las letras de ZARAGOZA forman el multiconjunto
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;{(A,3),(Z,2),(R,1),(G,1),(O,1)}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Un &lt;b&gt;submulticonjunto&lt;/b&gt;&amp;nbsp;de
un multiconjunto es otro multiconjunto cuyos elementos pertenecen al multiconjunto
inicial con multiplicidades &lt;b&gt;no mayores&lt;/b&gt; que las del mismo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Así,
GOZAR es submulticonjunto de ZARAGOZA, pero no lo es ARROZ, porque la R tiene
una multiplicidad mayor.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Combinaciones
con repetición&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;En
todas las cuestiones que siguen, la base son las combinaciones con repetición.
Podremos usar la fórmula para m objetos tomados de n en n, fórmula elemental y
conocida:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnVKE4pCxSQzTHX73XtET1bGsN__YGJsD4jwPgadM_c9U_bxh0XO-EjorN5Arng3-C0_MMet2nu5dPxLET1DN4yz3cjovR3Jwj_A3RPxnglmIKL3K0GRUAfPqsZmjlnfamHYptte32JSz4Xuaw2GtbsICwfKIj8hA5ZfoGiS1jPIn8x8dQg3DJKt2UrM8/s340/1sub1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;58&quot; data-original-width=&quot;340&quot; height=&quot;64&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnVKE4pCxSQzTHX73XtET1bGsN__YGJsD4jwPgadM_c9U_bxh0XO-EjorN5Arng3-C0_MMet2nu5dPxLET1DN4yz3cjovR3Jwj_A3RPxnglmIKL3K0GRUAfPqsZmjlnfamHYptte32JSz4Xuaw2GtbsICwfKIj8hA5ZfoGiS1jPIn8x8dQg3DJKt2UrM8/w373-h64/1sub1.png&quot; width=&quot;373&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Tomemos
como ejemplo el conjunto {2,3,4,5} Si deseamos construir todas las
combinaciones con repetición de 3 en 3, según la fórmula, deberemos obtener en
total, usando el lenguaje de las hojas de cálculo:&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;COMBINAT(4+3-1,3)
= COMBINAT(6,3)=6*5*4/6=5*4=20&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;En
efecto, con nuestra herramienta Cartesius se puede comprobar.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;(https://www.hojamat.es/sindecimales/combinatoria/herramientas/herrcomb.htm#cartesius)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Basta
exigir estas tres condiciones:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;xtotal=3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;xt=2,3,4,5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;creciente&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Se
pide crear tres columnas con contenido 2,3,4,5 y solo se exige que los arreglos
sean crecientes, para que resulten combinaciones y no variaciones. El resultado
es el esperado, 20 combinaciones con repetición.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;Imagen_x0020_1&quot; o:spid=&quot;_x0000_i1026&quot;
 type=&quot;#_x0000_t75&quot; style=&#39;width:117pt;height:208pt;visibility:visible;
 mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiu-sWdlPBD0N-1V09czhxVIWhyqVso9PFL3Xp9yg3nea_DNAvzSUM1YE1ew5NSWy59qSlRNOqyQuo4GbsNSYufj2ZvaJQSa8_tmGp301vbt91F2x8iyV0H0xUg3Wqr20JUKTZe5DHWBz_GAQJ3F7T2V0COCTJMEa3fZ-e6qEz_l-1M8ZGDWMga6sUNw5U=s1600&quot; v:shapes=&quot;Imagen_x0020_1&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Combinaciones
con repetición acotadas&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Si en
lugar del conjunto {2,3,4,5} eligiéramos el multiconjunto {2,3,3,4,4,5}
deberíamos tener en cuenta que sus subconjuntos no pueden presentar más
frecuencias que las determinadas, un 2, dos 3, dos 4 y un 5.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;En
Cartesius tendríamos que acotar las frecuencias, para que resultaran
subconjuntos. Podría ser así:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;xtotal=3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;xt=2,3,4,5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;creciente&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;contar(2)&amp;lt;2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;contar(3)&amp;lt;3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;contar(4)&amp;lt;3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; tab-stops: 264.5pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;contar(5)&amp;lt;2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Se restringen las frecuencias,
con lo que resultan submulticonjuntos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;El resultado sería:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxdsc1Rl6EIhQmNptAnaw_kPIKhHqui82Hzb-ar2JTzwkKfuJf4m9ygQKm4aTZ9SJ_LhuHORkHrqtkiB4pJpOlMvS2cXBvFHH6w7ijhcSnAQvTUkQH1THJKa2FKyIvqR7Oi6LbA7BkCAwmdShuIJs-cAGT9rn9tEVnJj68jcslwz9bMrhzAyaIMw-L1e4/s169/1sub3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;169&quot; data-original-width=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxdsc1Rl6EIhQmNptAnaw_kPIKhHqui82Hzb-ar2JTzwkKfuJf4m9ygQKm4aTZ9SJ_LhuHORkHrqtkiB4pJpOlMvS2cXBvFHH6w7ijhcSnAQvTUkQH1THJKa2FKyIvqR7Oi6LbA7BkCAwmdShuIJs-cAGT9rn9tEVnJj68jcslwz9bMrhzAyaIMw-L1e4/s1600/1sub3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Las combinaciones se han
reducido a 10.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;tab-stops: 264.5pt;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;¿Cómo llegar a ese número sin
usar Cartesius? &lt;span style=&quot;color: black; mso-themecolor: text1;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; font-family: inherit; line-height: 115%; mso-themecolor: text1;&quot;&gt;En nuestro caso, al número
20 habría que restarle las combinaciones en las que el 3 se repite más de dos
veces, y también aquellas en las que ocurre lo mismo con el cuatro. Después
eliminaríamos aquellas en las que el 2 o el 5 se repitieran más de una vez&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; font-family: inherit; line-height: 115%; mso-themecolor: text1;&quot;&gt;Sería:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; font-family: inherit; line-height: 115%; mso-themecolor: text1;&quot;&gt;Combinaciones totales: CR(4,3)=COMBINAT(6,3)=20&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; font-family: inherit; line-height: 115%; mso-themecolor: text1;&quot;&gt;Combinaciones no válidas
con el 2: Hay que desechar aquellas combinaciones en las que el 2 se repita dos
o tres veces, es decir, fijamos el 2 dos veces, y nos quedan combinaciones de
cuatro elementos tomados de uno en, es decir:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; font-family: inherit; line-height: 115%; mso-themecolor: text1;&quot;&gt;CR(4,1)=COMBINAT(4,1)=4.
Igual ocurre con el 5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; font-family: inherit; line-height: 115%; mso-themecolor: text1;&quot;&gt;Combinaciones no válidas
para el 3: Siguiendo el mismo razonamiento, fijamos el 3 tres veces y queda CR(4,0)=1,
e igual para el 4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; font-family: inherit; line-height: 115%; mso-themecolor: text1;&quot;&gt;Nos quedaría prohibir que dos
elementos sobrepasaran la multiplicidad, pero eso no ocurre y hemos terminado:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; font-family: inherit; line-height: 115%; mso-themecolor: text1;&quot;&gt;Número de
submulticonjuntos: 20-4-4-1-1=10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; font-family: inherit; line-height: 115%; mso-themecolor: text1;&quot;&gt;Así que la idea es, para
eliminar combinaciones, fijar cada elemento en su multiplicidad y uno más, y
desarrollar lo que queda:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; font-family: inherit; line-height: 115%; mso-themecolor: text1;&quot;&gt;CR(4,3)-CR(4,1)-CR(4,1)-CR(4,0)-CR(4,0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; line-height: 115%; mso-themecolor: text1;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Se comprende que con más
elementos el cálculo se complica, pero este sería el camino correcto.&lt;/span&gt;&lt;o:p style=&quot;font-size: 14pt;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/4748937938989333862/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/4748937938989333862' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/4748937938989333862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/4748937938989333862'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/09/submulticonjuntos-1.html' title='Submulticonjuntos (1)'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnVKE4pCxSQzTHX73XtET1bGsN__YGJsD4jwPgadM_c9U_bxh0XO-EjorN5Arng3-C0_MMet2nu5dPxLET1DN4yz3cjovR3Jwj_A3RPxnglmIKL3K0GRUAfPqsZmjlnfamHYptte32JSz4Xuaw2GtbsICwfKIj8hA5ZfoGiS1jPIn8x8dQg3DJKt2UrM8/s72-w373-h64-c/1sub1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-220003816991993807</id><published>2026-06-29T19:23:00.001+02:00</published><updated>2026-06-29T19:23:00.126+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Algoritmos"/><category scheme="http://www.blogger.com/atom/ns#" term="Combinatoria"/><category scheme="http://www.blogger.com/atom/ns#" term="Teoría"/><title type='text'>Números de pastel</title><content type='html'>&lt;p&gt;&lt;span style=&quot;background-color: #eeeeff; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Estos números constituyen una extensión natural
de los traducidos como “Catering perezoso” (o también como “Cortador perezoso”),
que ya se han estudiado en este blog. Si aquellos contaban el máximo de cortes
rectilíneos sobre una tarta o pizza, considerados en dos dimensiones (todos
frontales a la superficie mayor de la tarta), aquí se trata de cortar un cubo o
una tarta mediante cortes planos que actúan sobre tres dimensiones. Buscaremos
siempre el número máximo de partes, por lo que no se consideran planos
paralelos, ni cortes paralelos, ni varios planos incidentes en el mismo punto.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; line-height: 120%;&quot;&gt;Siguiendo las ideas de Peter C. Heinig en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A000125&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); line-height: 120%;&quot;&gt;https://oeis.org/A000125&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; line-height: 120%;&quot;&gt;, podemos contemplar tres escalas de
complejidad en estos cortes:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;Una dimensión, cortes sobre una recta. Es
evidente que el número máximo de regiones para n cortes es &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;C&lt;sub&gt;1&lt;/sub&gt;(n)=binomial(n,0)+binomial(n,1)=1+n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: left;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;En el caso de un plano, vimos, en la sucesión
de catering perezoso, &lt;a href=&quot;https://hojaynumeros.blogspot.com/2026/02/el-catering-perezoso.html&quot;&gt;https://hojaynumeros.blogspot.com/2026/02/el-catering-perezoso.html&lt;/a&gt;,
que el número era: n(n+1)/2+1, que también se puede escribir como&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;C&lt;sub&gt;2&lt;/sub&gt;(n)= binomial(n,0)+binomial(n,1)+binomial(n,2)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;En nuestro caso actual, sobre tres dimensiones,
es fácil razonar que su expresión es C(n+1,3)+n+1=(n+1)n(n-1)/6+n+1, lo que nos
llevaría a &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;C&lt;sub&gt;3&lt;/sub&gt;(n) = binomial(n,0) +
binomial(n,1) + binomial(n,2) + binomial(n,3)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;Lo vemos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;Una tarta, con el corte mediante un solo plano
se divide en dos partes, y se cumple C(1)=0+1+1=2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;Para dos cortes obtenemos cuatro partes como
máximo, y se cumple:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;C(2)=3*2*1/6+2+1=4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;Aquí podemos seguir por inducción: Supongamos
efectuados los n-1 cortes primeros. Al cortarlos con un nuevo plano, si ese
número es máximo, se formarán en el nuevo plano el máximo de cortes posible,
que sabemos que es C&lt;sub&gt;2&lt;/sub&gt;(n-1), y serían elementos de la sucesión del
catering perezoso, luego C&lt;sub&gt;3&lt;/sub&gt;(n)= C&lt;sub&gt;3&lt;/sub&gt;(n-1)+C&lt;sub&gt;2&lt;/sub&gt;(n-1),
y quedaría:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;C&lt;sub&gt;3&lt;/sub&gt;(n)= C&lt;sub&gt;3&lt;/sub&gt;(n-1)+(n-1)n/2+1=n(n-1)(n-2)/6+n+(n-1)n/2+1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;Mediante el programa wxMaxima comprobamos la
identidad entre este resultado y el propuesto. En el recorte de pantalla
observamos además que las expresiones se pueden simplificar bastante:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpSXrhlDNl-xiOeJK1WcONfGFUWsBZZRqoJOG_03Op0rEAJVyRSD25NjphkNOCZDX5SikUYe13723_6Xd6AKi9uC4nFcuawAXumdHFTOOgJ9IZZHrnL_Zb-x8YEkM0BTxylgDupe3gyEA4qs-jT7UbOnHMNLm5Yv1iQCFQ4C32vhanaVhMtc1lO8XFEnU/s337/pastel1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;165&quot; data-original-width=&quot;337&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpSXrhlDNl-xiOeJK1WcONfGFUWsBZZRqoJOG_03Op0rEAJVyRSD25NjphkNOCZDX5SikUYe13723_6Xd6AKi9uC4nFcuawAXumdHFTOOgJ9IZZHrnL_Zb-x8YEkM0BTxylgDupe3gyEA4qs-jT7UbOnHMNLm5Yv1iQCFQ4C32vhanaVhMtc1lO8XFEnU/s16000/pastel1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;Por una parte, hemos obtenido una fórmula
manejable:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiViGGgHKpG9i9OfT13wsBmMZ5q4uNrJ60hgnXySFwFGJvovpSc66gkVXD1ekMK8aLn5t3IYiqAFZioNrK-JxmzkACGYCMgMl5-6Pt3U-AS1PMFFSqdb_EGOdKr6Vt1qU3X2BnkA9kuUpsxcuGRdMVfavSOxWx9pa_MTXWh8aOb4MmGnr7oFZtUxKOwN74/s149/pastel2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;43&quot; data-original-width=&quot;149&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiViGGgHKpG9i9OfT13wsBmMZ5q4uNrJ60hgnXySFwFGJvovpSc66gkVXD1ekMK8aLn5t3IYiqAFZioNrK-JxmzkACGYCMgMl5-6Pt3U-AS1PMFFSqdb_EGOdKr6Vt1qU3X2BnkA9kuUpsxcuGRdMVfavSOxWx9pa_MTXWh8aOb4MmGnr7oFZtUxKOwN74/s16000/pastel2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;Por otra, se ha comprobado en el razonamiento
que C&lt;sub&gt;3&lt;/sub&gt;(n)= C&lt;sub&gt;3&lt;/sub&gt;(n-1)+C&lt;sub&gt;2&lt;/sub&gt;(n-1) y, por tanto, que
es válida la sugerencia de:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;C&lt;sub&gt;3&lt;/sub&gt;(n) = binomial(n,0) +
binomial(n,1) + binomial(n,2) + binomial(n,3)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;Con esta comprobación se ha descubierto también
que estos números son la suma de los cuatro primeros elementos de la fila n del
triángulo de Pascal:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfNe2JU1-llC4ZbXDREj8IG5atXoEuAvas3u9t28xxQ3np_gADq9LCXWK0714U5sgj_TsT_kKzE0L8G1vE4BpfS6melOi3WWmzDELFKlUwuxpHIfWNZXWhRbiL8yhCclmmBNipfDlr_hQ2y77rtz9M3zpbPvZp6UvNnUriOM3409fsGqOK2vWPAz1x-eI/s429/pastel3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;179&quot; data-original-width=&quot;429&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfNe2JU1-llC4ZbXDREj8IG5atXoEuAvas3u9t28xxQ3np_gADq9LCXWK0714U5sgj_TsT_kKzE0L8G1vE4BpfS6melOi3WWmzDELFKlUwuxpHIfWNZXWhRbiL8yhCclmmBNipfDlr_hQ2y77rtz9M3zpbPvZp6UvNnUriOM3409fsGqOK2vWPAz1x-eI/s16000/pastel3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;Esta propiedad nos permite identificar los
números de pastel con el número de subconjuntos de un conjunto de n elementos
cuyo cardinal &lt;b&gt;no supere los tres elementos&lt;/b&gt;. Expresado de otra forma, la
suma del número de combinaciones de n elementos tomados de 0, 1, 2 o 3
elementos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;Al igual que ocurría con la sucesión del
catering perezoso, la existencia de una fórmula tan directa hace inútil la
búsqueda de otro algoritmo o función. Basta organizar una tabla con esa
fórmula:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4dmzgOdF3_H2Zq5oT2GFIVXv176r7JGPeVIqOw382cBXRAg5WNpeu0odh_hMA3W8jgSsIJgEtqmEv6WviVSkeUIUW-C9K_hVzLtu4ocJjqdFeEDTsOxXklXsVpIqCQG-jf_0HBkLdVdK-bizchD_WcXBC8HpY8v86p1yHMc2hcFVZsAQuiuMRGdhWrxA/s264/pastel4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;264&quot; data-original-width=&quot;209&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4dmzgOdF3_H2Zq5oT2GFIVXv176r7JGPeVIqOw382cBXRAg5WNpeu0odh_hMA3W8jgSsIJgEtqmEv6WviVSkeUIUW-C9K_hVzLtu4ocJjqdFeEDTsOxXklXsVpIqCQG-jf_0HBkLdVdK-bizchD_WcXBC8HpY8v86p1yHMc2hcFVZsAQuiuMRGdhWrxA/s16000/pastel4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p align=&quot;center&quot; class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; line-height: 120%;&quot;&gt;Coinciden los valores extraídos del triángulo
de Pascal y con los publicados en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A000125&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); line-height: 120%;&quot;&gt;https://oeis.org/A000125&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; line-height: 120%;&quot;&gt;,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: #660000; font-family: inherit; line-height: 120%;&quot;&gt;Recurrencia&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;Con la fórmula básica se puede llegar a números
de orden grande, pero quizás se prefiera una recurrencia por la rapidez de
cálculo. En la página de OEIS citada se propone la siguiente:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;Bastará, pues, crear una columna con los cuatro
primeros en una hoja de cálculo y después aplicar la fórmula a esos cuatro y
rellenar hacia abajo hasta el punto que deseemos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;Comienzo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl4uYd0H1hJA5LyVW7u7yrcrSlhxlTSvKkadvPxZcKveFnhR4pLV9PYADU824vJDilvetZiM35XNVPUcn3-x14mg6HWlWfGANWdV2XQA_Lfa2D3q8OkMVDiCnwboecItWbK6mk8Ys4HdSW6wB3w_GGWo1oWiZa8H0qG2Me7Y85x9uUTr_BCTeWsmnCT70/s233/pastel5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;119&quot; data-original-width=&quot;233&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl4uYd0H1hJA5LyVW7u7yrcrSlhxlTSvKkadvPxZcKveFnhR4pLV9PYADU824vJDilvetZiM35XNVPUcn3-x14mg6HWlWfGANWdV2XQA_Lfa2D3q8OkMVDiCnwboecItWbK6mk8Ys4HdSW6wB3w_GGWo1oWiZa8H0qG2Me7Y85x9uUTr_BCTeWsmnCT70/s16000/pastel5.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p align=&quot;center&quot; class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;Escribimos los cuatro primeros, y al quinto le
aplicamos la fórmula de recurrencia.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt;&quot;&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;Segundo paso&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;Rellenamos hacia bajo la fórmula:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1n1pBBHvAtpO_QC__zZbzjDO85HuAFzbJeWZE5bCBJJZNIG7BolQVqqXrLAAG1TLxogaaydl3PmhHjfwvFyfUjwcoC0r3-2XsqQMeV1vq742C8POpaDTQV8zEIIjlXslK4Zgr8KJ72vZ2qVRKy-r2Nz6gOVgARDOFuUU9KH-PjAXYaA7CsdKnEAxlhg4/s294/pastel6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;294&quot; data-original-width=&quot;247&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1n1pBBHvAtpO_QC__zZbzjDO85HuAFzbJeWZE5bCBJJZNIG7BolQVqqXrLAAG1TLxogaaydl3PmhHjfwvFyfUjwcoC0r3-2XsqQMeV1vq742C8POpaDTQV8zEIIjlXslK4Zgr8KJ72vZ2qVRKy-r2Nz6gOVgARDOFuUU9KH-PjAXYaA7CsdKnEAxlhg4/s16000/pastel6.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;De esta forma, en segundos, llegamos al orden
que deseemos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlhg3XZdj1in_c3FryjhIs5oZ0RCDddFDr1cc89Ah2NQxJ066uFTXfhuilOQxkfSOueY1RhZCBcPO4NsnEmWXt4Js2ufHME1Ly1uPQ6fb1r7iBRiYIPKNsbfZRJJqOyqg2sonDkn1faOvwxM6CZupfDJ-2XPncYfRRU8xXB3FMnHQ8v8Zp4WXVV-m1ICQ/s233/pastel7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;233&quot; data-original-width=&quot;69&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlhg3XZdj1in_c3FryjhIs5oZ0RCDddFDr1cc89Ah2NQxJ066uFTXfhuilOQxkfSOueY1RhZCBcPO4NsnEmWXt4Js2ufHME1Ly1uPQ6fb1r7iBRiYIPKNsbfZRJJqOyqg2sonDkn1faOvwxM6CZupfDJ-2XPncYfRRU8xXB3FMnHQ8v8Zp4WXVV-m1ICQ/s16000/pastel7.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;Las recurrencias lineales son muy útiles para
construir tablas de forma casi instantánea.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;Standard&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;background: rgb(238, 238, 255); color: black; font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/220003816991993807/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/220003816991993807' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/220003816991993807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/220003816991993807'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/06/numeros-de-pastel.html' title='Números de pastel'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpSXrhlDNl-xiOeJK1WcONfGFUWsBZZRqoJOG_03Op0rEAJVyRSD25NjphkNOCZDX5SikUYe13723_6Xd6AKi9uC4nFcuawAXumdHFTOOgJ9IZZHrnL_Zb-x8YEkM0BTxylgDupe3gyEA4qs-jT7UbOnHMNLm5Yv1iQCFQ4C32vhanaVhMtc1lO8XFEnU/s72-c/pastel1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-251827315421422725</id><published>2026-06-18T18:09:00.001+02:00</published><updated>2026-06-18T18:09:00.122+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Algoritmos"/><category scheme="http://www.blogger.com/atom/ns#" term="Combinatoria"/><category scheme="http://www.blogger.com/atom/ns#" term="Teoría"/><title type='text'>Triángulo trinomial</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Al igual que construíamos el triángulo de Pascal para
binomiales sumando cada dos consecutivos, podemos definir el triángulo
trinomial si cada coeficiente es la suma de los tres situados en la fila
anterior y sobre él. Los coeficientes de los extremos serán suma de dos o de
uno, como si a izquierda y derecha del triángulo existieran ceros. Así quedaría
con una hoja de cálculo.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Imagen_x0020_10&quot; o:spid=&quot;_x0000_i1031&quot; style=&quot;height: 123pt; mso-wrap-style: square; visibility: visible; width: 349pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata blacklevel=&quot;-13107f&quot; gain=&quot;1.25&quot; o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image001.emz&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl8sS8DDJy7wE5v_-XNEDoLo04Hn6RR2nUfQZfFEGnACiUBGtJrsg0wS96audeLg-yRCf9JlPhbBYYVB1WAAdh_7asiX3_Eacl2xPDMH3NQ5S5OLlmvYfawsmvzBWFgeZa_meFLVGiiHwUMkYHKli5j0l1WdjtsXfxi6UCju874XSHQCL4LbY-ts_g-kI/s373/trin15.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;131&quot; data-original-width=&quot;373&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl8sS8DDJy7wE5v_-XNEDoLo04Hn6RR2nUfQZfFEGnACiUBGtJrsg0wS96audeLg-yRCf9JlPhbBYYVB1WAAdh_7asiX3_Eacl2xPDMH3NQ5S5OLlmvYfawsmvzBWFgeZa_meFLVGiiHwUMkYHKli5j0l1WdjtsXfxi6UCju874XSHQCL4LbY-ts_g-kI/s16000/trin15.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A diferencia de los binomiales, estos coeficientes del
triángulo forman filas de longitud impar, 2n+1, por lo que se puede hablar
siempre de términos centrales, que en la imagen son 1, 1, 3, 7 y 19.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Este proceso equivale a la siguiente recurrencia:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;!--[if gte msEquation 12]&gt;&lt;m:oMathPara&gt;&lt;m:oMath&gt;&lt;m:d&gt;&lt;m:dPr&gt;&lt;span
    style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;
    font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
    mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;font-style:
    italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:dPr&gt;&lt;m:e&gt;&lt;m:m&gt;&lt;m:mPr&gt;&lt;m:mcs&gt;&lt;m:mc&gt;&lt;m:mcPr&gt;&lt;m:count
          m:val=&quot;1&quot;/&gt;&lt;m:mcJc m:val=&quot;center&quot;/&gt;&lt;/m:mcPr&gt;&lt;/m:mc&gt;&lt;/m:mcs&gt;&lt;span
      style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:
      14.0pt;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
      mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;
      font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:mPr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;0&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;0&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;/m:m&gt;&lt;/m:e&gt;&lt;/m:d&gt;&lt;i
  style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:
  115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;=1&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:oMath&gt;&lt;/m:oMathPara&gt;&lt;![endif]--&gt;&lt;!--[if !msEquation]--&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;v:shape id=&quot;_x0000_i1025&quot; style=&quot;height: 30.5pt; width: 47.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata chromakey=&quot;white&quot; o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;!--[if gte msEquation 12]&gt;&lt;m:oMathPara&gt;&lt;m:oMath&gt;&lt;m:d&gt;&lt;m:dPr&gt;&lt;span
    style=&#39;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
    mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;color:black;
    mso-themecolor:text1;font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:dPr&gt;&lt;m:e&gt;&lt;m:m&gt;&lt;m:mPr&gt;&lt;m:mcs&gt;&lt;m:mc&gt;&lt;m:mcPr&gt;&lt;m:count
          m:val=&quot;1&quot;/&gt;&lt;m:mcJc m:val=&quot;center&quot;/&gt;&lt;/m:mcPr&gt;&lt;/m:mc&gt;&lt;/m:mcs&gt;&lt;span
      style=&#39;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
      mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;
      color:black;mso-themecolor:text1;font-style:italic;mso-bidi-font-style:
      normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:mPr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-family:&quot;Cambria Math&quot;,serif;
       mso-bidi-font-family:Arial;color:black;mso-themecolor:text1&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-family:&quot;Cambria Math&quot;,serif;
       mso-bidi-font-family:Arial;color:black;mso-themecolor:text1&#39;&gt;&lt;m:r&gt;k&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;/m:m&gt;&lt;/m:e&gt;&lt;/m:d&gt;&lt;i
  style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-family:&quot;Cambria Math&quot;,serif;
  mso-bidi-font-family:Arial;color:black;mso-themecolor:text1&#39;&gt;&lt;m:r&gt;=&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;m:d&gt;&lt;m:dPr&gt;&lt;span
    style=&#39;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
    mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;color:black;
    mso-themecolor:text1;font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:dPr&gt;&lt;m:e&gt;&lt;m:m&gt;&lt;m:mPr&gt;&lt;m:mcs&gt;&lt;m:mc&gt;&lt;m:mcPr&gt;&lt;m:count
          m:val=&quot;1&quot;/&gt;&lt;m:mcJc m:val=&quot;center&quot;/&gt;&lt;/m:mcPr&gt;&lt;/m:mc&gt;&lt;/m:mcs&gt;&lt;span
      style=&#39;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
      mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;
      color:black;mso-themecolor:text1;font-style:italic;mso-bidi-font-style:
      normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:mPr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-family:&quot;Cambria Math&quot;,serif;
       mso-bidi-font-family:Arial;color:black;mso-themecolor:text1&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;m:r&gt;-&lt;/m:r&gt;&lt;m:r&gt;1&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-family:&quot;Cambria Math&quot;,serif;
       mso-bidi-font-family:Arial;color:black;mso-themecolor:text1&#39;&gt;&lt;m:r&gt;k&lt;/m:r&gt;&lt;m:r&gt;-&lt;/m:r&gt;&lt;m:r&gt;1&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;/m:m&gt;&lt;/m:e&gt;&lt;/m:d&gt;&lt;i
  style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-family:&quot;Cambria Math&quot;,serif;
  mso-bidi-font-family:Arial;color:black;mso-themecolor:text1&#39;&gt;&lt;m:r&gt;+&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;m:d&gt;&lt;m:dPr&gt;&lt;span
    style=&#39;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
    mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;color:black;
    mso-themecolor:text1;font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:dPr&gt;&lt;m:e&gt;&lt;m:m&gt;&lt;m:mPr&gt;&lt;m:mcs&gt;&lt;m:mc&gt;&lt;m:mcPr&gt;&lt;m:count
          m:val=&quot;1&quot;/&gt;&lt;m:mcJc m:val=&quot;center&quot;/&gt;&lt;/m:mcPr&gt;&lt;/m:mc&gt;&lt;/m:mcs&gt;&lt;span
      style=&#39;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
      mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;
      color:black;mso-themecolor:text1;font-style:italic;mso-bidi-font-style:
      normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:mPr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-family:&quot;Cambria Math&quot;,serif;
       mso-bidi-font-family:Arial;color:black;mso-themecolor:text1&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;m:r&gt;-&lt;/m:r&gt;&lt;m:r&gt;1&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-family:&quot;Cambria Math&quot;,serif;
       mso-bidi-font-family:Arial;color:black;mso-themecolor:text1&#39;&gt;&lt;m:r&gt;k&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;/m:m&gt;&lt;/m:e&gt;&lt;/m:d&gt;&lt;i
  style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-family:&quot;Cambria Math&quot;,serif;
  mso-bidi-font-family:Arial;color:black;mso-themecolor:text1&#39;&gt;&lt;m:r&gt;+&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;m:d&gt;&lt;m:dPr&gt;&lt;span
    style=&#39;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
    mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;color:black;
    mso-themecolor:text1;font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:dPr&gt;&lt;m:e&gt;&lt;m:m&gt;&lt;m:mPr&gt;&lt;m:mcs&gt;&lt;m:mc&gt;&lt;m:mcPr&gt;&lt;m:count
          m:val=&quot;1&quot;/&gt;&lt;m:mcJc m:val=&quot;center&quot;/&gt;&lt;/m:mcPr&gt;&lt;/m:mc&gt;&lt;/m:mcs&gt;&lt;span
      style=&#39;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
      mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;
      color:black;mso-themecolor:text1;font-style:italic;mso-bidi-font-style:
      normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:mPr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-family:&quot;Cambria Math&quot;,serif;
       mso-bidi-font-family:Arial;color:black;mso-themecolor:text1&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;m:r&gt;-&lt;/m:r&gt;&lt;m:r&gt;1&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-family:&quot;Cambria Math&quot;,serif;
       mso-bidi-font-family:Arial;color:black;mso-themecolor:text1&#39;&gt;&lt;m:r&gt;k&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;/m:m&gt;&lt;/m:e&gt;&lt;/m:d&gt;&lt;i
  style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-family:&quot;Cambria Math&quot;,serif;
  mso-bidi-font-family:Arial;color:black;mso-themecolor:text1&#39;&gt;&lt;m:r&gt; &lt;/m:r&gt;&lt;m:r&gt;si&lt;/m:r&gt;&lt;m:r&gt;
   &lt;/m:r&gt;&lt;m:r&gt;est&lt;/m:r&gt;&lt;m:r&gt;á&lt;/m:r&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;m:r&gt; &lt;/m:r&gt;&lt;m:r&gt;definidos&lt;/m:r&gt;&lt;m:r&gt;,
   &lt;/m:r&gt;&lt;m:r&gt;si&lt;/m:r&gt;&lt;m:r&gt; &lt;/m:r&gt;&lt;m:r&gt;no&lt;/m:r&gt;&lt;m:r&gt;, &lt;/m:r&gt;&lt;m:r&gt;ceros&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:oMath&gt;&lt;/m:oMathPara&gt;&lt;![endif]--&gt;&lt;!--[if !msEquation]--&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;v:shape id=&quot;_x0000_i1025&quot; style=&quot;height: 26pt; width: 348.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata chromakey=&quot;white&quot; o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOHmmwgIRvUtwSe5b_KlBSjx7MlEC7A1B1qsk2vhWe7-9NW21DsTOcljhelry6QYrGPCFvRdrH-ipw3PB6Khld-U-B-vjjjFgHzqlBRKANFcJgj2An1SQxNMDp3WPZETn7ZYPmoJndt8trQ9E0MRu1Xjf6DI-OpUWEtu3nhEQudHQFW_kcOn2ce15eeVs/s496/trin16.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;80&quot; data-original-width=&quot;496&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOHmmwgIRvUtwSe5b_KlBSjx7MlEC7A1B1qsk2vhWe7-9NW21DsTOcljhelry6QYrGPCFvRdrH-ipw3PB6Khld-U-B-vjjjFgHzqlBRKANFcJgj2An1SQxNMDp3WPZETn7ZYPmoJndt8trQ9E0MRu1Xjf6DI-OpUWEtu3nhEQudHQFW_kcOn2ce15eeVs/s16000/trin16.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Como curiosidad, John D.
Cook relaciona estos números con los pasos del rey en el ajedrez para llegar a
las distintas posiciones&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;br /&gt;&amp;nbsp;(ver &lt;/span&gt;&lt;a href=&quot;https://www.johndcook.com/blog/2025/05/16/trinomial-coefficients-and-kings/&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;https://www.johndcook.com/blog/2025/05/16/trinomial-coefficients-and-kings/&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Este triángulo posee
diversas propiedades, tal como ocurría con el binomial. Por ejemplo, la primera
diagonal de la izquierda contiene los números naturales, 1, 2, 3, 4, … y la
segunda los triangulares, 1, 3, 6, 10, 15, …Igualmente, si en los binomiales la
suma por filas era 2&lt;sup&gt;n&lt;/sup&gt;, aquí es 3&lt;sup&gt;n&lt;/sup&gt;. Por ejemplo,
1+3+6+7+6+3+1=27=3&lt;sup&gt;3&lt;/sup&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Estos números se pueden
interpretar también como los coeficientes de la potencia (1+x+x&lt;sup&gt;2&lt;/sup&gt;)&lt;sup&gt;n&lt;/sup&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Por ejemplo, para n=4 nos
queda, en wxMaxima:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivfRb_KEW-Lv0t5lJ6pNMSL-B9C7ctKccMAIh6oyCggonxYm-U84kxcuAP3fAsbtTDBmNizf1ivQUV1rOAIe7mAYidWYm4aV087Rkm8KecbSkgQfrrU6xPTouxBGgAcAAI2pkSZsuhyphenhyphenovVeRdoP8dJ-L2gkBvALuBdG05bXwC_0n58aJto-iY7chy0EGM/s397/trin17.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;79&quot; data-original-width=&quot;397&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivfRb_KEW-Lv0t5lJ6pNMSL-B9C7ctKccMAIh6oyCggonxYm-U84kxcuAP3fAsbtTDBmNizf1ivQUV1rOAIe7mAYidWYm4aV087Rkm8KecbSkgQfrrU6xPTouxBGgAcAAI2pkSZsuhyphenhyphenovVeRdoP8dJ-L2gkBvALuBdG05bXwC_0n58aJto-iY7chy0EGM/s16000/trin17.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Los coeficientes coinciden
con los de la fila 4 del triángulo.&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Para distinguir estos
coeficientes de los binomiales, se suele añadir un 2 a la derecha de su
símbolo. El resto queda igual porque vemos que dependen de solo dos parámetros.
Así que, a partir de ahora, los representaremos así:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQZIJLeL55l-Y2jGVzfpX8HKxhT3b0XceYyBAjOb1nizbtb_FGaOe0_kgY9EL1hHnafqlSQBE_LyUUjIoVfxDxPVcI8mKoehJjHT2-vHed4q-Pi7onXWedLh2D5lTJCFh5_2HkMuTbazS-kNxSVOR-wM1W7m1XiI_PvtOsx7zCMX0D3ehXoHzzMggcNSo/s94/trin22.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;77&quot; data-original-width=&quot;94&quot; height=&quot;77&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQZIJLeL55l-Y2jGVzfpX8HKxhT3b0XceYyBAjOb1nizbtb_FGaOe0_kgY9EL1hHnafqlSQBE_LyUUjIoVfxDxPVcI8mKoehJjHT2-vHed4q-Pi7onXWedLh2D5lTJCFh5_2HkMuTbazS-kNxSVOR-wM1W7m1XiI_PvtOsx7zCMX0D3ehXoHzzMggcNSo/s1600/trin22.png&quot; width=&quot;94&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;En ese símbolo k es un entero
que cumple -n ≤ k ≤ n, por lo que puede tomar valores negativos. Lo podemos
interpretar como la diferencia entre el lugar central de la fila y el del
término definido.&lt;/span&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Cálculo
directo&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Según la Wikipedia, existe
una fórmula para el cálculo directo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieRs4Y8Cyw7IhYsfiTd9_ANfRCOpgO3QbAn3kQ4NYo7Kf7B57KvQrgm9VS3HZA4hbcuFukgKyK-i7RKSTGfVV0gwecw0yBoaskgypPTPMPhWS-rshsAXmFQoYXWixUbuaBfRZciJJeG44-k3RMBp-2ONSeKfMjQHiWP8oSWldEMtcT_8otLoRhyAPQs5U/s395/trin23.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;84&quot; data-original-width=&quot;395&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieRs4Y8Cyw7IhYsfiTd9_ANfRCOpgO3QbAn3kQ4NYo7Kf7B57KvQrgm9VS3HZA4hbcuFukgKyK-i7RKSTGfVV0gwecw0yBoaskgypPTPMPhWS-rshsAXmFQoYXWixUbuaBfRZciJJeG44-k3RMBp-2ONSeKfMjQHiWP8oSWldEMtcT_8otLoRhyAPQs5U/s16000/trin23.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;v:shape id=&quot;_x0000_i1029&quot; style=&quot;height: 38pt; mso-wrap-style: square; visibility: visible; width: 201.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata cropbottom=&quot;14537f&quot; croptop=&quot;7100f&quot; o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Usa un sumatorio algo
complicado, por lo que es más directo y formativo el seguir la recurrencia
definida.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Por
recurrencia&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;El esquema de recurrencia
ya presentado se puede traducir a una función directa, en la que dados n y k
nos devuelva el coeficiente correspondiente en el triángulo trinomial. Para
ello, traducimos las filas de hoja de cálculo a dos vectores u(i) y v(i) que
comiencen y terminen con ceros, y con ellos ir construyendo la recurrencia
hasta llegar al coeficiente deseado:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Function
trinomial2(n, k)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim u(50),
v(50), i, j, h, t&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;For i = 1 To 2
* n + 3: u(i) = 0: v(i) = 0:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Next I &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;‘Se rellenan los vectores con ceros&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;u(n + 3) = 1 &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;‘Primer coeficiente&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;For i = 1 To n
&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;‘Se trabaja hasta la fila&lt;b&gt;&lt;i&gt; n&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;For j = 3 To 2
* n + 3 &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;‘Longitud de
la fila contando con ceros iniciales&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;v(j) = u(j -
1) + u(j) + u(j + 1) &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;‘Recurrencia&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Next j&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;For h = 3 To 2
* n + 3: u(h) = v(h: Next h &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;‘Se copia v(i) en u(i)&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;For h = 1 To 2
* n + 1: v(h) = 0: Next h &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;‘Y se rellena con ceros&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Next i&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;t = u(n + k +
3) &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;‘Se localiza el
coeficiente pedido&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;trinomial2 = t&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Aunque parece algo complejo, funciona con rapidez. En la
imagen se recogen los coeficientes correspondientes a n=5 y n=6:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnqLMG2KdWYgNkjuYQfhxyhfpeLzhZfZZZPUpf05b2lJrxtLk9TaUN1JUPQZgf14hjjMqv7L7-3bFooglRe-YP_miXueffScTpG5UjIsfz6rvs9UtZDfp_yzbR1pwiWf5cCPibC5qZIxr501fKDBSFf1JsvG2ID3Csysl3bXEQNXBbAkUNBA2_rH4MpSc/s256/trin18.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;167&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnqLMG2KdWYgNkjuYQfhxyhfpeLzhZfZZZPUpf05b2lJrxtLk9TaUN1JUPQZgf14hjjMqv7L7-3bFooglRe-YP_miXueffScTpG5UjIsfz6rvs9UtZDfp_yzbR1pwiWf5cCPibC5qZIxr501fKDBSFf1JsvG2ID3Csysl3bXEQNXBbAkUNBA2_rH4MpSc/s16000/trin18.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Coeficientes centrales&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;Los números centrales de cada fila poseen importancia
propia. Por eso, en OEIS, se les dedican muchas referencias y descripciones de
propiedades. Aquí sólo se &lt;span style=&quot;color: black; mso-themecolor: text1;&quot;&gt;darán
algunos detalles, remitiendo para un estudio completo a la página &lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;https://oeis.org/A002426&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;https://oeis.org/A002426&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Su cálculo no es difícil.
En la página mencionada se usa la definición como coeficientes de&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;(1+x+x&lt;sup&gt;2&lt;/sup&gt;)&lt;sup&gt;n&lt;/sup&gt;, pero
eligiendo el coeficiente número n. Se propone este código PARI de fácil
comprensión, extendido aquí con un bucle FOR:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;a(n) = if( n&amp;lt;0, 0,
polcoeff( (1 + x + x^2)^n, n))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;for(k=0,20,print1(a(k),&quot;,
&quot;))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Su resultado, en la página oficial de PARI es:&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguZA86ZbzrBmrSaw2Qhcl3_8BX03VpuAaJhN1nOkqjTy30Ps3X0jlA_elFWt3Vk5St_1U-vgXKmp87OnXlTpeAHzHVVZVVgx34St3OodvZXKR1wBHImuoj4_0fblurczv-Hor0Mf8GndWXR2goe_o2AMe46iz1fRDIJKz2gh84AUbUQxKT0kQ1Q-mG9pk/s517/trin19.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;66&quot; data-original-width=&quot;517&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguZA86ZbzrBmrSaw2Qhcl3_8BX03VpuAaJhN1nOkqjTy30Ps3X0jlA_elFWt3Vk5St_1U-vgXKmp87OnXlTpeAHzHVVZVVgx34St3OodvZXKR1wBHImuoj4_0fblurczv-Hor0Mf8GndWXR2goe_o2AMe46iz1fRDIJKz2gh84AUbUQxKT0kQ1Q-mG9pk/s16000/trin19.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Coincide con lo publicado.&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con nuestra función trinomial2(n,k) basta dar a k el valor
0. Así se ha efectuado para crear esta columna de Excel:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjziaOVIq6CO9H96cJpeJ-KBtzae7vP0n6RPYcQSFObgRtY74Mmw9qvMtC-efhX7K70Zd76hPkUjp3KulPHKOpbeiKr2yV2jDTnk9a1-zOW94R_4UwKzskRTmfF42JsobSdS8WHJ5Y4trYJxtHqBfMWlgBSMfGtAi4A37Cvwq7vSBv7QHGTRB1-vGjgNuU/s246/trin20.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;246&quot; data-original-width=&quot;139&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjziaOVIq6CO9H96cJpeJ-KBtzae7vP0n6RPYcQSFObgRtY74Mmw9qvMtC-efhX7K70Zd76hPkUjp3KulPHKOpbeiKr2yV2jDTnk9a1-zOW94R_4UwKzskRTmfF42JsobSdS8WHJ5Y4trYJxtHqBfMWlgBSMfGtAi4A37Cvwq7vSBv7QHGTRB1-vGjgNuU/s16000/trin20.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Una interpretación interesante de estos números es la de
David Callan, que los identifica con el número de sucesiones de n elementos
tomados del conjunto (1, 2, 3, … n), crecientes en sentido amplio, en las que ningún
elemento se repite más de dos veces. Propone como ejemplo si n = 3, las sucesiones
son 112, 113, 122, 123, 133, 223, 233, es decir, son siete como indica su coeficiente
central.&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;He añadido la condición FMAX a mi herramienta Cartesius (&lt;a href=&quot;https://www.hojamat.es/sindecimales/combinatoria/herramientas/herrcomb.htm#cartesius&quot;&gt;&lt;span style=&quot;color: windowtext;&quot;&gt;https://www.hojamat.es/sindecimales/combinatoria/herramientas/herrcomb.htm#cartesius&lt;/span&gt;&lt;/a&gt;)
y, aunque aún no está publicada, la he usado para comprobar esta propiedad. He concretado
las condiciones siguientes:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;xtotal=5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;xt=1..5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;FMAX&amp;lt;3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;Creciente&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con
ellas se combinan en arreglos crecientes los números del 1 al 5, con la
condición de que la frecuencia máxima sea 2, tal como plantea David Callan, y
se han obtenido 51 posibilidades, como corresponde al coeficiente central de
orden 5. Este recorte contiene los primeros y su total:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;v:shape id=&quot;Imagen_x0020_1&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 234.5pt; mso-wrap-style: square; visibility: visible; width: 60pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata cropleft=&quot;2621f&quot; cropright=&quot;1f&quot; o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZWFpyYJSMo2IYrkpe2pyKdo87TtFgZ3Tnmb45MxGTgG357DHlBCYgyBCpGOM5XbtQqSo7onuOuAFKyGFmM4jv-FywPUJPM6OI7VO2BUqtzLMbMxFgXLilW59d5YvTm9EmtQRt95NZJSI8Rl3AO3OFuPZC1jDmj46DrDhFIrJr1gUcC7rIVfTVJXJocyw/s313/trin21.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;313&quot; data-original-width=&quot;80&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZWFpyYJSMo2IYrkpe2pyKdo87TtFgZ3Tnmb45MxGTgG357DHlBCYgyBCpGOM5XbtQqSo7onuOuAFKyGFmM4jv-FywPUJPM6OI7VO2BUqtzLMbMxFgXLilW59d5YvTm9EmtQRt95NZJSI8Rl3AO3OFuPZC1jDmj46DrDhFIrJr1gUcC7rIVfTVJXJocyw/s16000/trin21.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/251827315421422725/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/251827315421422725' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/251827315421422725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/251827315421422725'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/06/triangulo-trinomial.html' title='Triángulo trinomial'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl8sS8DDJy7wE5v_-XNEDoLo04Hn6RR2nUfQZfFEGnACiUBGtJrsg0wS96audeLg-yRCf9JlPhbBYYVB1WAAdh_7asiX3_Eacl2xPDMH3NQ5S5OLlmvYfawsmvzBWFgeZa_meFLVGiiHwUMkYHKli5j0l1WdjtsXfxi6UCju874XSHQCL4LbY-ts_g-kI/s72-c/trin15.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-965299906477988487</id><published>2026-06-10T18:58:00.001+02:00</published><updated>2026-06-10T18:58:00.125+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Combinatoria"/><category scheme="http://www.blogger.com/atom/ns#" term="Números en Combinatoria"/><category scheme="http://www.blogger.com/atom/ns#" term="Teoría"/><title type='text'>Coeficientes trinomiales</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Los coeficientes trinomiales son una extensión de los
binomiales, definidos estos como&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj4buf-muIztKgURN6ycI2pbf4i4pniySic1PekYYszbRkrmtk6hUA3lCG-q-mv2ZOBsSR0i6RsltKw40xpKsJgHOzXW8y6cbz1jQ6AyJ-I1t0AGo2otmORkqVa1Ye7omVCU8YBIh7qyxpDxo0mzvB_n3Y57EDNE4BSDHF-m4l3vkuRI9RbeAGjDwXihk/s207/trin1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;74&quot; data-original-width=&quot;207&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj4buf-muIztKgURN6ycI2pbf4i4pniySic1PekYYszbRkrmtk6hUA3lCG-q-mv2ZOBsSR0i6RsltKw40xpKsJgHOzXW8y6cbz1jQ6AyJ-I1t0AGo2otmORkqVa1Ye7omVCU8YBIh7qyxpDxo0mzvB_n3Y57EDNE4BSDHF-m4l3vkuRI9RbeAGjDwXihk/s16000/trin1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Y que son los coeficientes del binomio de Newton:&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibwu8pRQWAR-mACY4N5sTLn46N3f2TimGsqe2g8Xoa6SqoP84NG34yWRSqp1OrVejBFz8E1Eu2GxAT-rJv5nAMxqV9dbswsgzP2fn7xdgheF33MZe-1AS-OH1PMmsF-sy1B5yXvpDaFDKQlUaivu98sdCe8VxiPb70lxclG0wxmURng2WkcoUpu6wkx60/s269/trin2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;79&quot; data-original-width=&quot;269&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibwu8pRQWAR-mACY4N5sTLn46N3f2TimGsqe2g8Xoa6SqoP84NG34yWRSqp1OrVejBFz8E1Eu2GxAT-rJv5nAMxqV9dbswsgzP2fn7xdgheF33MZe-1AS-OH1PMmsF-sy1B5yXvpDaFDKQlUaivu98sdCe8VxiPb70lxclG0wxmURng2WkcoUpu6wkx60/s16000/trin2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;De forma análoga se pueden definir los coeficientes
trinomiales, propios de un trinomio similar al anterior.&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En realidad, los binomiales se podrían expresar de otra
forma:&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaIPGZfry5C2kFRsITWNTGCvBz8lNuifdPpNE5DonpMn3WqtEwgpkMZSOBNilLJZQcxBHp3OSCC_sB2umG8bOSyp_wsxdcG-e_jbso93TtWbn2xqfF8v6KJEgCJ2vy2IikDWiTZAdnnYh0OVuxAfHcN2VXdDu21UG_jJrHJZyufMRDw8pELyvroP5kkog/s352/trin3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;65&quot; data-original-width=&quot;352&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaIPGZfry5C2kFRsITWNTGCvBz8lNuifdPpNE5DonpMn3WqtEwgpkMZSOBNilLJZQcxBHp3OSCC_sB2umG8bOSyp_wsxdcG-e_jbso93TtWbn2xqfF8v6KJEgCJ2vy2IikDWiTZAdnnYh0OVuxAfHcN2VXdDu21UG_jJrHJZyufMRDw8pELyvroP5kkog/s16000/trin3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A partir de aquí podemos explicar mejor la definición de
coeficientes trinomiales:&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4H4uzEAuTpr1kTt7nPeSmKwsu_EpupDn3cKOJiBhZW4R1wSetrv-G_AUFXkod3te7ScddSopojQ2Ey2oYJcAfvnzmjsuZF5hJyTHX4SZW_oMv1rFLixorqXcz61O-3CUOUPT7YFS0jvJrWNqV4q_lcgLV2I1D34UpJfh-Il04o04tQpIvLutteRDxFzw/s421/trin4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;66&quot; data-original-width=&quot;421&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4H4uzEAuTpr1kTt7nPeSmKwsu_EpupDn3cKOJiBhZW4R1wSetrv-G_AUFXkod3te7ScddSopojQ2Ey2oYJcAfvnzmjsuZF5hJyTHX4SZW_oMv1rFLixorqXcz61O-3CUOUPT7YFS0jvJrWNqV4q_lcgLV2I1D34UpJfh-Il04o04tQpIvLutteRDxFzw/s16000/trin4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;También, al igual que con los binomiales, los podemos
identificar con los coeficientes de la potencia de un trinomio:&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfeEP2URnloHbV8ZygjNVwA5pyzKu0zZAeD34D_U8-m0dQTu3M7ud7y3muQz-HX5jatDazKpVf8EFi8IOf2XVMvlPiV2obVvxerRIkkMKcU1yBo-DNQshLVWf1tlN0_RIVmsGUXQHxv-Gy0kFH_auhzYj9nM6BCfjkmXCv-GfBxg7SxVghQFZDSjGH0UE/s333/trin5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;76&quot; data-original-width=&quot;333&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfeEP2URnloHbV8ZygjNVwA5pyzKu0zZAeD34D_U8-m0dQTu3M7ud7y3muQz-HX5jatDazKpVf8EFi8IOf2XVMvlPiV2obVvxerRIkkMKcU1yBo-DNQshLVWf1tlN0_RIVmsGUXQHxv-Gy0kFH_auhzYj9nM6BCfjkmXCv-GfBxg7SxVghQFZDSjGH0UE/s16000/trin5.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Las demostraciones son similares a las del caso binomial.&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Esta fórmula produce siempre resultados enteros positivos,
debido al teorema de que un producto de k números consecutivos decrecientes es
siempre múltiplo de los k primeros números enteros positivos. Es fácil recordar
que coincide con el número de permutaciones con repetición en las que se fija
el número de cada una.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Para entender esto mejor podemos descomponer la definición
en tres bloques. Lo vemos con un ejemplo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQZm7BEbWASeBlNIs5V52QpPOQQ0yfqn9RsgAWJb69Gr91IA3RDxGkbpO_4Rtex6kHxK7buLRtufMdoJ37wQR0p8SQI3CjFHbrUxSkkLlFPLthrClroX_oF3_6ifz7Args3HIgE-3HQmW2bR7WmfebJbqOvvHfmeMKVNjr7OgXtU8NIgxidS1h1HmSBOs/s603/trin6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;82&quot; data-original-width=&quot;603&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQZm7BEbWASeBlNIs5V52QpPOQQ0yfqn9RsgAWJb69Gr91IA3RDxGkbpO_4Rtex6kHxK7buLRtufMdoJ37wQR0p8SQI3CjFHbrUxSkkLlFPLthrClroX_oF3_6ifz7Args3HIgE-3HQmW2bR7WmfebJbqOvvHfmeMKVNjr7OgXtU8NIgxidS1h1HmSBOs/s16000/trin6.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A la vista de este esquema de tres cocientes, observamos que el
tercer número de la definición no influye en el resultado, luego podemos usar
sólo n&lt;/span&gt;&lt;sub style=&quot;font-family: inherit;&quot;&gt;1&lt;/sub&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; y n&lt;/span&gt;&lt;sub style=&quot;font-family: inherit;&quot;&gt;2&lt;/sub&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;. Incluso estos son intercambiables, los que
nos lleva a que el coeficiente trinomial se puede expresar como&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqdLGKWfmExEYkzEQ6Ej_LOVbaVorx39-pYpyr05ltRsJZ8ogGcFs-YPcMq2RoG2gZjVUviOLHd4zx8lIfGRVlZqMe_4ORShC7mMevtPffzmKCEUkMmF0lKA31tHxX854qBl-TeQ3EAWxj7_cv672pwyg3D-3sQph4sTxXCMd1WgtL6b25bg8RVk-e6B0/s421/trin7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;66&quot; data-original-width=&quot;421&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqdLGKWfmExEYkzEQ6Ej_LOVbaVorx39-pYpyr05ltRsJZ8ogGcFs-YPcMq2RoG2gZjVUviOLHd4zx8lIfGRVlZqMe_4ORShC7mMevtPffzmKCEUkMmF0lKA31tHxX854qBl-TeQ3EAWxj7_cv672pwyg3D-3sQph4sTxXCMd1WgtL6b25bg8RVk-e6B0/s16000/trin7.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En nuestro ejemplo, usando la función COMBINAT de Excel y Calc,
nos quedaría:&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;COMBINAT(8;2)*COMBINAT(6;3)=560&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;COMBINAT(8;3)*COMBINAT(5;2)=560&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Cálculo de un coeficiente trinomial en la
práctica&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si no se desea depender de la función COMBINAT, se puede
calcular directamente.&lt;b&gt; &lt;/b&gt;El problema con el cálculo práctico de un
coeficiente de este tipo es que los factoriales alcanzan números muy grandes.
Si usamos calculadora o bien hoja de cálculo, los resultados pasan a coma
flotante y se pierde el carácter entero de estos coeficientes. Por ello, es
conveniente usar el desarrollo del párrafo anterior: dividir los números
consecutivos a partir de &lt;b&gt;m&lt;/b&gt; entre el primer factorial, los siguientes
entre el segundo, y parar el cálculo, porque el tercer factorial produce un
uno. En VBasic y otros lenguajes se puede construir una función similar a la
siguiente:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Function
trinomial(m, x, y, z)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim t,
k, v&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;If x +
y + z &amp;lt;&amp;gt; m Then trinomial = 0: Exit &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;Function’
Datos no válidos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;t = m:
k = x: v = 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;While
k &amp;gt; 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;v = v
* t / k: t = t - 1: k = k – 1 &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;‘Divide factores consecutivos
entre el primer coeficiente. Es el primer combinatorio de la fórmula.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Wend&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;k = y&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;While
k &amp;gt; 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;v = v
* t / k: t = t - 1: k = k – 1&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;’ Igual, en el segundo
coeficiente para calcular el segundo combinatorio.&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Wend&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;trinomial
= v&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End
Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Presenta un pequeño riesgo de redondeo inadecuado, pero
suele funcionar bastante bien. Devuelve un cero si los coeficientes de abajo no
suman el de arriba. No analiza si los datos son enteros.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Es muy sencillo el traslado a cualquier otro lenguaje de
programación, por ejemplo, en PARI, con un rango de datos y resultados mucho
mayor:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;trinomial(m, x, y,
z)=my(t=m,k=x,v=1);while(k&amp;gt;0,v=v*t/k;t-=1;k-=1);k=y;while(k&amp;gt;0,v=v*t/k;t-=1;k-=1);v*(x+y+z==m)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Tal como se esperaba, los valores de estos coeficientes
pueden ser grandes. Aquí tenemos un ejemplo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoe3sxFZN_lg10cB8jMc5j2zHbuWzm_y5-_ty_UQT1GOgETUG9k2ybmeKiqVG7dWdffJ7oFG8_RBCbvq1rEVnkPtlKB0MuVAwiBMnaa43XKgD78cYvHd7dhFB3-KpUwGXyio0ZmWD-tgdpIdRpKKgoSeGeQqjiFx_mp7bC50_sDfMr4YUvJCKsS7yyLkQ/s567/trin8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;84&quot; data-original-width=&quot;567&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoe3sxFZN_lg10cB8jMc5j2zHbuWzm_y5-_ty_UQT1GOgETUG9k2ybmeKiqVG7dWdffJ7oFG8_RBCbvq1rEVnkPtlKB0MuVAwiBMnaa43XKgD78cYvHd7dhFB3-KpUwGXyio0ZmWD-tgdpIdRpKKgoSeGeQqjiFx_mp7bC50_sDfMr4YUvJCKsS7yyLkQ/s16000/trin8.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Al ser la primitiva definición simétrica respecto a los
índices de abajo, el número total de posibles coeficientes trinomiales para un
índice superior &lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;m&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; dado, es el de particiones de &lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;m&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; en tres
conjuntos. Por ejemplo, para m=5 las particiones son (5,0,0), (4,1,0), (3,2,0),
(3,1,1), (2,2,1), que se corresponden con los posibles valores de los
coeficientes, que son 1, 5, 10, 20 y 30. Se comprende que, en el desarrollo de
(a+b+c)&lt;/span&gt;&lt;sup style=&quot;font-family: inherit;&quot;&gt;5&lt;/sup&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;, se tendrán que repetir, como vemos en el siguiente
desarrollo:&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHJrGIwEBJ_l1qNkRav9FsWSX4_li5jESi11tHttKsTlo9iF60oMpwS86cgwIILKxDToJRbWW-ttk8bkJOS9W3hXC5tcRNmjINk116S8D4hwthqv2P2NWg63PVd0b9VOBB2OFl1xc8kcQNdNuceJqbbYiVdLk7Fd9BsHTEg3Q2joWMlJRGtg11H_giIhk/s534/trin9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;56&quot; data-original-width=&quot;534&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHJrGIwEBJ_l1qNkRav9FsWSX4_li5jESi11tHttKsTlo9iF60oMpwS86cgwIILKxDToJRbWW-ttk8bkJOS9W3hXC5tcRNmjINk116S8D4hwthqv2P2NWg63PVd0b9VOBB2OFl1xc8kcQNdNuceJqbbYiVdLk7Fd9BsHTEg3Q2joWMlJRGtg11H_giIhk/s16000/trin9.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Con nuestra herramienta Cartesius se puede encontrar el
número de estos coeficientes distintos.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;(Ver &lt;/span&gt;&lt;a href=&quot;https://www.hojamat.es/sindecimales/combinatoria/herramientas/herrcomb.htm#cartesius&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black; mso-themecolor: text1;&quot;&gt;https://www.hojamat.es/sindecimales/combinatoria/herramientas/herrcomb.htm#cartesius&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: black; font-family: inherit; mso-themecolor: text1;&quot;&gt;)&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Por ejemplo, para m=7 plantearíamos:&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;xtotal=3
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;xt=0..7&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;creciente&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;suma=7&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Se interpreta que deseamos encontrar todos los tipos de
sumas con resultado 7 y sin tener en cuenta el orden (creciente)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Al resultado se le han añadido manualmente los valores de
los coeficientes:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmji43F8vz99OAzDvFYP-K3mHI_dzZRF8PUm-7QAaUN0X93fLx2jT3Xz0KUECGejBJWDsqrCL8wtDrqqFMrv6u2XgeReQ9lpETOdpW2D72sgB3iKjsckdqkquCuZryWlWaIa6PGGUPOYPNIxBbl9j6tYDsdNeRSvUd5m3WNkmQxcXNaZn5rNQ9he7NOhg/s327/trin10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;121&quot; data-original-width=&quot;327&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmji43F8vz99OAzDvFYP-K3mHI_dzZRF8PUm-7QAaUN0X93fLx2jT3Xz0KUECGejBJWDsqrCL8wtDrqqFMrv6u2XgeReQ9lpETOdpW2D72sgB3iKjsckdqkquCuZryWlWaIa6PGGUPOYPNIxBbl9j6tYDsdNeRSvUd5m3WNkmQxcXNaZn5rNQ9he7NOhg/s16000/trin10.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Estos resultados se corresponden con el desarrollo de una
potencia séptima de un trinomio:&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuznBViW-_j0xeGk1XdHKtMShaDrRlsGsBNpghiQgwK7kH57Mgxcx6D_-JUlE_rIVSaezBhvpWPVa-woe6UUKnaYEMXwj947XGuslb14YxlOcHQOuc4nFhyphenhyphenlHYQIVcQlQNq5Y1AycJXtjwQICEHQCtjFJE1lamKYfP5hXdWRd3XfPFw_AvmgggmCx_WrE/s567/trin11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;61&quot; data-original-width=&quot;567&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuznBViW-_j0xeGk1XdHKtMShaDrRlsGsBNpghiQgwK7kH57Mgxcx6D_-JUlE_rIVSaezBhvpWPVa-woe6UUKnaYEMXwj947XGuslb14YxlOcHQOuc4nFhyphenhyphenlHYQIVcQlQNq5Y1AycJXtjwQICEHQCtjFJE1lamKYfP5hXdWRd3XfPFw_AvmgggmCx_WrE/s16000/trin11.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Como era de esperar, los coeficientes aparecen muy
repetidos.&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Tetraedro de Pascal&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;Con la expresión &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;COMBINAT(m;n&lt;sub&gt;1&lt;/sub&gt;)*COMBINAT(m-n&lt;sub&gt;1&lt;/sub&gt;;n&lt;sub&gt;2&lt;/sub&gt;)&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;
se puede construir un triángulo de coeficientes para un m dado. En una hoja de
cálculo se puede visualizar bien. En la imagen figuran los correspondientes a
m=7, vistos anteriormente:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqKYhiTk8JePYy8rNwOfYE503ziNheGju8pMuDq_gv44Fh83yy78ZTcTHUZR5oWEKFCKzVg-8fvO30JS1H4pWFRgPXrhdFEiQVuhLFDxWaKFzV7YEILVeO3yYC0epJC321dNVGSnpAXxsKW_PX5B9g9Qa1W-pcqRWxNRL3t3wyfeF4i9556iavPCJoyzg/s327/trin12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;173&quot; data-original-width=&quot;327&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqKYhiTk8JePYy8rNwOfYE503ziNheGju8pMuDq_gv44Fh83yy78ZTcTHUZR5oWEKFCKzVg-8fvO30JS1H4pWFRgPXrhdFEiQVuhLFDxWaKFzV7YEILVeO3yYC0epJC321dNVGSnpAXxsKW_PX5B9g9Qa1W-pcqRWxNRL3t3wyfeF4i9556iavPCJoyzg/s16000/trin12.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Observamos que los lados del triángulo son filas del triángulo
de Pascal. Si ahora apilamos triángulos según los valores de m, nos resultará
un tetraedro, al que también se le llama de Pascal. En la siguiente página de
Wikipedia se explica el proceso:&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Pascal%27s_pyramid&quot;&gt;&lt;span style=&quot;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-theme-font: minor-fareast;&quot;&gt;https://en.wikipedia.org/wiki/Pascal%27s_pyramid&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;La siguiente imagen pertenece a dicha página:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOAgdX9hYd-uSEKzw1qYwWHdgztjE1dF-FfCokJyFGrDTo21xWnaAcY890CKRxiNbfvlqL3rB9PLms8tFGhJS2v_ka1fLSQcOn3MqBZcDsQq3CbQ3nQE5oKoHLlO3A7GSCabNjvR9MkTnMEnfDlwweD3URjmAsAiIXtPG6yVDNu7vpIjZaO9S9NnGSN1g/s242/trin13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;242&quot; data-original-width=&quot;192&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOAgdX9hYd-uSEKzw1qYwWHdgztjE1dF-FfCokJyFGrDTo21xWnaAcY890CKRxiNbfvlqL3rB9PLms8tFGhJS2v_ka1fLSQcOn3MqBZcDsQq3CbQ3nQE5oKoHLlO3A7GSCabNjvR9MkTnMEnfDlwweD3URjmAsAiIXtPG6yVDNu7vpIjZaO9S9NnGSN1g/s16000/trin13.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;v:shape id=&quot;Imagen_x0020_5&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 181.5pt; mso-wrap-style: square; visibility: visible; width: 144.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image013.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;(Fuente: Wikipedia &lt;a href=&quot;https://en.wikipedia.org/wiki/Pascal%27s_pyramid&quot;&gt;https://en.wikipedia.org/wiki/Pascal%27s_pyramid&lt;/a&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Para quienes deseéis profundizar en el tema. La lectura de
esta página es recomendable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;&lt;b&gt;Recurrencia&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Es fácil la comprobación de esta recurrencia para calcular
coeficientes trinomiales:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGRPY8kFyVkUf_dLhNNHw9rVoH0Cf0yIrdJyfq8YkcrHzSD32DuPbpgRx5qbF7ghpeh12DxdHW69lSzojMpFcwSVMkM6izPtu9rpzXze_iqEH29p7zSjI3bh9ge1f60JfsNX_Vlub_nLgX070gvHgSbVYoN2RGjObOSjMgfwYMCsTg-f9nDd-dk2vbx8M/s577/trin14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;111&quot; data-original-width=&quot;577&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGRPY8kFyVkUf_dLhNNHw9rVoH0Cf0yIrdJyfq8YkcrHzSD32DuPbpgRx5qbF7ghpeh12DxdHW69lSzojMpFcwSVMkM6izPtu9rpzXze_iqEH29p7zSjI3bh9ge1f60JfsNX_Vlub_nLgX070gvHgSbVYoN2RGjObOSjMgfwYMCsTg-f9nDd-dk2vbx8M/s16000/trin14.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;!--[if gte msEquation 12]&gt;&lt;m:oMathPara&gt;&lt;m:oMath&gt;&lt;m:d&gt;&lt;m:dPr&gt;&lt;span
    style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;
    font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
    mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;font-style:
    italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:dPr&gt;&lt;m:e&gt;&lt;m:m&gt;&lt;m:mPr&gt;&lt;m:mcs&gt;&lt;m:mc&gt;&lt;m:mcPr&gt;&lt;m:count
          m:val=&quot;1&quot;/&gt;&lt;m:mcJc m:val=&quot;center&quot;/&gt;&lt;/m:mcPr&gt;&lt;/m:mc&gt;&lt;/m:mcs&gt;&lt;span
      style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:
      14.0pt;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
      mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;
      font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:mPr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;m:r&gt;,0,0&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;/m:m&gt;&lt;/m:e&gt;&lt;/m:d&gt;&lt;i
  style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:
  115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;=&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;m:d&gt;&lt;m:dPr&gt;&lt;span
    style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;
    font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
    mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;font-style:
    italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:dPr&gt;&lt;m:e&gt;&lt;m:m&gt;&lt;m:mPr&gt;&lt;m:mcs&gt;&lt;m:mc&gt;&lt;m:mcPr&gt;&lt;m:count
          m:val=&quot;1&quot;/&gt;&lt;m:mcJc m:val=&quot;center&quot;/&gt;&lt;/m:mcPr&gt;&lt;/m:mc&gt;&lt;/m:mcs&gt;&lt;span
      style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:
      14.0pt;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
      mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;
      font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:mPr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;0,&lt;/m:r&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;m:r&gt;,0&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;/m:m&gt;&lt;/m:e&gt;&lt;/m:d&gt;&lt;i
  style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:
  115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;=&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;m:d&gt;&lt;m:dPr&gt;&lt;span
    style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;
    font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
    mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;font-style:
    italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:dPr&gt;&lt;m:e&gt;&lt;m:m&gt;&lt;m:mPr&gt;&lt;m:mcs&gt;&lt;m:mc&gt;&lt;m:mcPr&gt;&lt;m:count
          m:val=&quot;1&quot;/&gt;&lt;m:mcJc m:val=&quot;center&quot;/&gt;&lt;/m:mcPr&gt;&lt;/m:mc&gt;&lt;/m:mcs&gt;&lt;span
      style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:
      14.0pt;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
      mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;
      font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:mPr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;0,0,&lt;/m:r&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;/m:m&gt;&lt;/m:e&gt;&lt;/m:d&gt;&lt;i
  style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:
  115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;=1&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:oMath&gt;&lt;/m:oMathPara&gt;&lt;![endif]--&gt;&lt;!--[if !msEquation]--&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;v:shape id=&quot;_x0000_i1025&quot; style=&quot;height: 29.5pt; width: 201.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata chromakey=&quot;white&quot; o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image014.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;!--[if gte msEquation 12]&gt;&lt;m:oMathPara&gt;&lt;m:oMath&gt;&lt;m:d&gt;&lt;m:dPr&gt;&lt;span
    style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;
    font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
    mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;font-style:
    italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:dPr&gt;&lt;m:e&gt;&lt;m:m&gt;&lt;m:mPr&gt;&lt;m:mcs&gt;&lt;m:mc&gt;&lt;m:mcPr&gt;&lt;m:count
          m:val=&quot;1&quot;/&gt;&lt;m:mcJc m:val=&quot;center&quot;/&gt;&lt;/m:mcPr&gt;&lt;/m:mc&gt;&lt;/m:mcs&gt;&lt;span
      style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:
      14.0pt;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
      mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;
      font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:mPr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;m:sSub&gt;&lt;m:sSubPr&gt;&lt;span
         style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:
         14.0pt;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
         mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;
         font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:sSubPr&gt;&lt;m:e&gt;&lt;i
         style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
         line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
         Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;m:sub&gt;&lt;i style=&#39;mso-bidi-font-style:
         normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:115%;font-family:
         &quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;1&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:sub&gt;&lt;/m:sSub&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;,&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;m:sSub&gt;&lt;m:sSubPr&gt;&lt;span style=&#39;font-size:
         14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;font-family:
         &quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;mso-hansi-font-family:
         &quot;Cambria Math&quot;;mso-bidi-font-family:Arial;font-style:italic;
         mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:sSubPr&gt;&lt;m:e&gt;&lt;i
         style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
         line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
         Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;m:sub&gt;&lt;i style=&#39;mso-bidi-font-style:
         normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:115%;font-family:
         &quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;2&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:sub&gt;&lt;/m:sSub&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;,&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;m:sSub&gt;&lt;m:sSubPr&gt;&lt;span style=&#39;font-size:
         14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;font-family:
         &quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;mso-hansi-font-family:
         &quot;Cambria Math&quot;;mso-bidi-font-family:Arial;font-style:italic;
         mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:sSubPr&gt;&lt;m:e&gt;&lt;i
         style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
         line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
         Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;m:sub&gt;&lt;i style=&#39;mso-bidi-font-style:
         normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:115%;font-family:
         &quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;3&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:sub&gt;&lt;/m:sSub&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;/m:m&gt;&lt;/m:e&gt;&lt;/m:d&gt;&lt;i
  style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:
  115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;=&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;m:d&gt;&lt;m:dPr&gt;&lt;span
    style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;
    font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
    mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;font-style:
    italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:dPr&gt;&lt;m:e&gt;&lt;m:m&gt;&lt;m:mPr&gt;&lt;m:mcs&gt;&lt;m:mc&gt;&lt;m:mcPr&gt;&lt;m:count
          m:val=&quot;1&quot;/&gt;&lt;m:mcJc m:val=&quot;center&quot;/&gt;&lt;/m:mcPr&gt;&lt;/m:mc&gt;&lt;/m:mcs&gt;&lt;span
      style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:
      14.0pt;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
      mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;
      font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:mPr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;m:r&gt;-&lt;/m:r&gt;&lt;m:r&gt;1&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;m:sSub&gt;&lt;m:sSubPr&gt;&lt;span
         style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:
         14.0pt;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
         mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;
         font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:sSubPr&gt;&lt;m:e&gt;&lt;i
         style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
         line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
         Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;m:sub&gt;&lt;i style=&#39;mso-bidi-font-style:
         normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:115%;font-family:
         &quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;1&lt;/m:r&gt;&lt;m:r&gt;-&lt;/m:r&gt;&lt;m:r&gt;1&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:sub&gt;&lt;/m:sSub&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;,&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;m:sSub&gt;&lt;m:sSubPr&gt;&lt;span style=&#39;font-size:
         14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;font-family:
         &quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;mso-hansi-font-family:
         &quot;Cambria Math&quot;;mso-bidi-font-family:Arial;font-style:italic;
         mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:sSubPr&gt;&lt;m:e&gt;&lt;i
         style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
         line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
         Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;m:sub&gt;&lt;i style=&#39;mso-bidi-font-style:
         normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:115%;font-family:
         &quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;2&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:sub&gt;&lt;/m:sSub&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;,&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;m:sSub&gt;&lt;m:sSubPr&gt;&lt;span style=&#39;font-size:
         14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;font-family:
         &quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;mso-hansi-font-family:
         &quot;Cambria Math&quot;;mso-bidi-font-family:Arial;font-style:italic;
         mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:sSubPr&gt;&lt;m:e&gt;&lt;i
         style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
         line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
         Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;m:sub&gt;&lt;i style=&#39;mso-bidi-font-style:
         normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:115%;font-family:
         &quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;3&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:sub&gt;&lt;/m:sSub&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;/m:m&gt;&lt;/m:e&gt;&lt;/m:d&gt;&lt;i
  style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:
  115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;+&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;m:d&gt;&lt;m:dPr&gt;&lt;span
    style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;
    font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
    mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;font-style:
    italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:dPr&gt;&lt;m:e&gt;&lt;m:m&gt;&lt;m:mPr&gt;&lt;m:mcs&gt;&lt;m:mc&gt;&lt;m:mcPr&gt;&lt;m:count
          m:val=&quot;1&quot;/&gt;&lt;m:mcJc m:val=&quot;center&quot;/&gt;&lt;/m:mcPr&gt;&lt;/m:mc&gt;&lt;/m:mcs&gt;&lt;span
      style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:
      14.0pt;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
      mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;
      font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:mPr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;m:r&gt;-&lt;/m:r&gt;&lt;m:r&gt;1&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;m:sSub&gt;&lt;m:sSubPr&gt;&lt;span
         style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:
         14.0pt;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
         mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;
         font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:sSubPr&gt;&lt;m:e&gt;&lt;i
         style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
         line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
         Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;m:sub&gt;&lt;i style=&#39;mso-bidi-font-style:
         normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:115%;font-family:
         &quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;1&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:sub&gt;&lt;/m:sSub&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;,&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;m:sSub&gt;&lt;m:sSubPr&gt;&lt;span style=&#39;font-size:
         14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;font-family:
         &quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;mso-hansi-font-family:
         &quot;Cambria Math&quot;;mso-bidi-font-family:Arial;font-style:italic;
         mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:sSubPr&gt;&lt;m:e&gt;&lt;i
         style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
         line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
         Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;m:sub&gt;&lt;i style=&#39;mso-bidi-font-style:
         normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:115%;font-family:
         &quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;2&lt;/m:r&gt;&lt;m:r&gt;-&lt;/m:r&gt;&lt;m:r&gt;1&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:sub&gt;&lt;/m:sSub&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;,&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;m:sSub&gt;&lt;m:sSubPr&gt;&lt;span style=&#39;font-size:
         14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;font-family:
         &quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;mso-hansi-font-family:
         &quot;Cambria Math&quot;;mso-bidi-font-family:Arial;font-style:italic;
         mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:sSubPr&gt;&lt;m:e&gt;&lt;i
         style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
         line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
         Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;m:sub&gt;&lt;i style=&#39;mso-bidi-font-style:
         normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:115%;font-family:
         &quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;3&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:sub&gt;&lt;/m:sSub&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;/m:m&gt;&lt;/m:e&gt;&lt;/m:d&gt;&lt;i
  style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:
  115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;+&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;m:d&gt;&lt;m:dPr&gt;&lt;span
    style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;
    font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
    mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;font-style:
    italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:dPr&gt;&lt;m:e&gt;&lt;m:m&gt;&lt;m:mPr&gt;&lt;m:mcs&gt;&lt;m:mc&gt;&lt;m:mcPr&gt;&lt;m:count
          m:val=&quot;1&quot;/&gt;&lt;m:mcJc m:val=&quot;center&quot;/&gt;&lt;/m:mcPr&gt;&lt;/m:mc&gt;&lt;/m:mcs&gt;&lt;span
      style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:
      14.0pt;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
      mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;
      font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:mPr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;m:r&gt;-&lt;/m:r&gt;&lt;m:r&gt;1&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;m:mr&gt;&lt;m:e&gt;&lt;m:sSub&gt;&lt;m:sSubPr&gt;&lt;span
         style=&#39;font-size:14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:
         14.0pt;font-family:&quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;
         mso-hansi-font-family:&quot;Cambria Math&quot;;mso-bidi-font-family:Arial;
         font-style:italic;mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:sSubPr&gt;&lt;m:e&gt;&lt;i
         style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
         line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
         Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;m:sub&gt;&lt;i style=&#39;mso-bidi-font-style:
         normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:115%;font-family:
         &quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;1&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:sub&gt;&lt;/m:sSub&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;,&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;m:sSub&gt;&lt;m:sSubPr&gt;&lt;span style=&#39;font-size:
         14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;font-family:
         &quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;mso-hansi-font-family:
         &quot;Cambria Math&quot;;mso-bidi-font-family:Arial;font-style:italic;
         mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:sSubPr&gt;&lt;m:e&gt;&lt;i
         style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
         line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
         Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;m:sub&gt;&lt;i style=&#39;mso-bidi-font-style:
         normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:115%;font-family:
         &quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;2&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:sub&gt;&lt;/m:sSub&gt;&lt;i
       style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
       line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
       Arial&#39;&gt;&lt;m:r&gt;,&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;m:sSub&gt;&lt;m:sSubPr&gt;&lt;span style=&#39;font-size:
         14.0pt;mso-ansi-font-size:14.0pt;mso-bidi-font-size:14.0pt;font-family:
         &quot;Cambria Math&quot;,serif;mso-ascii-font-family:&quot;Cambria Math&quot;;mso-hansi-font-family:
         &quot;Cambria Math&quot;;mso-bidi-font-family:Arial;font-style:italic;
         mso-bidi-font-style:normal&#39;&gt;&lt;m:ctrlPr&gt;&lt;/m:ctrlPr&gt;&lt;/span&gt;&lt;/m:sSubPr&gt;&lt;m:e&gt;&lt;i
         style=&#39;mso-bidi-font-style:normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;
         line-height:115%;font-family:&quot;Cambria Math&quot;,serif;mso-bidi-font-family:
         Arial&#39;&gt;&lt;m:r&gt;n&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:e&gt;&lt;m:sub&gt;&lt;i style=&#39;mso-bidi-font-style:
         normal&#39;&gt;&lt;span style=&#39;font-size:14.0pt;line-height:115%;font-family:
         &quot;Cambria Math&quot;,serif;mso-bidi-font-family:Arial&#39;&gt;&lt;m:r&gt;3&lt;/m:r&gt;&lt;m:r&gt;-&lt;/m:r&gt;&lt;m:r&gt;1&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:sub&gt;&lt;/m:sSub&gt;&lt;/m:e&gt;&lt;/m:mr&gt;&lt;/m:m&gt;&lt;/m:e&gt;&lt;/m:d&gt;&lt;/m:oMath&gt;&lt;/m:oMathPara&gt;&lt;![endif]--&gt;&lt;!--[if !msEquation]--&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;v:shape id=&quot;_x0000_i1025&quot; style=&quot;height: 33.5pt; width: 359pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata chromakey=&quot;white&quot; o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image015.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;En realidad, este es el fundamento del tetraedro de Pascal.&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/965299906477988487/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/965299906477988487' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/965299906477988487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/965299906477988487'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/06/coeficientes-trinomiales.html' title='Coeficientes trinomiales'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj4buf-muIztKgURN6ycI2pbf4i4pniySic1PekYYszbRkrmtk6hUA3lCG-q-mv2ZOBsSR0i6RsltKw40xpKsJgHOzXW8y6cbz1jQ6AyJ-I1t0AGo2otmORkqVa1Ye7omVCU8YBIh7qyxpDxo0mzvB_n3Y57EDNE4BSDHF-m4l3vkuRI9RbeAGjDwXihk/s72-c/trin1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-2152692410207393855</id><published>2026-05-28T19:56:00.001+02:00</published><updated>2026-06-07T16:29:07.923+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Algoritmos"/><category scheme="http://www.blogger.com/atom/ns#" term="Funciones"/><category scheme="http://www.blogger.com/atom/ns#" term="Tipos de números"/><title type='text'>Funciones definidas para tipos de números (3)</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;Esta entrada cierra el estudio de funciones definidas para ciertos tipos de números, así como de sus funciones inversas. En esta tercera se estudiarán las definidas por recurrencia.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Funciones
sobre recurrencias&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Son aquellas que se definen mediante los
términos iniciales, y además, expresan a(n+1) en función de los anteriores
términos. Por ejemplo, la sucesión de Fibonacci se define como a(1)=1, a(2)=1,
y para el resto, a(n+1)=a(n)+a(n-1). Si esta última relación sólo usa el
término a(n) se llama de primer orden, y así, se pueden plantear de segundo,
tercero o más órdenes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;color: #0c343d; font-family: inherit;&quot;&gt;Recurrencias de primer orden&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;color: #0c343d; font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Cada función de este tipo deberá estar
definida por dos parámetros, a(1) y otro según la definición, que puede ser
DIFERENCIA en las progresiones aritméticas, RAZÓN en las geométricas, o bien
cualquier otra relación entre a(n+1) y a(n). No existen ejemplos populares
concretos para definir funciones.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;span style=&quot;color: #0c343d;&quot;&gt;Recurrencias de segundo orden&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Existen muchas recurrencias de segundo
orden, como la ya citada de Fibonacci. Las más simples son las llamadas
Horadam, y se caracterizan porque la relación de recurrencia es lineal. Vemos
las más importantes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;span style=&quot;color: #274e13;&quot;&gt;Caso particular: sucesiones
Horadam&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Son aquellas que están definidas por
cuatro parámetros, a1, a2, c1 y c2, de la forma a(1) = a1, a(2) =a2, a(n) =
a(n-2)*c1+a(n*1)*c2. Así, tenemos muchos ejemplos concretos de este tipo de
sucesiones recurrentes de segundo grado:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;Horadam(1,1,1,1): Números de Fibonacci:&lt;/span&gt;
&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;1,
1, 2, 3, 5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Horadam(2,1,1,1): Números de Lucas: 2, 1, 3,
4, 7, 11, 18, 29, 47, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Horadam(1,2,1,2): Potencias de 2:1, 2, 4,
8, 16, 32, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Horadam(0,1,2,1): Números de Pell: 0, 1,
2, 5, 12, 29, 70, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Horadam(1,1,2,1): Números de Pell-Lucas: 1,
1, 3, 7, 17, 41, 99, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;Horadam(2,3,3,-2): Sucesión de Pisot (2&lt;sup&gt;n&lt;/sup&gt;+1):&lt;/span&gt;
&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;2,
3, 5, 9, 17, 33, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;Horadam(0,1,1,2): Sucesión de Jacobsthal:&lt;/span&gt;
&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;2,
3, 5, 9, 17, 33, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Son muy sencillas de programar, y su
búsqueda suele ser rápida. Para encontrar un término general hay que usar los
cuatro parámetros citados más el número de orden &lt;b&gt;n&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;span face=&quot;Arial, sans-serif&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;En lenguaje PARI&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;horadam(n,a1, a2, c1, c2) = {my(i,f,t,v,u); if(n==1,f=a1);
if(n==2,f=a2);if(n&amp;gt;2,v=a1;t=a2;for(i=3,n,u=c1*t+c2*v;v=t;t=u);f=u);f}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;En Vbasic&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;Function
horadam(n, a1, a2, c1, c2)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;Dim i, f, v, u&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;If n = 1 Then
horadam = a1: Exit Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;If n = 2 Then
horadam = a2: Exit Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;v = a1: t = a2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;For i = 3 To n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;u = c1 * t + c2 *
v: v = t: t = u&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;Next i&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;horadam = u&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;End Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Si se dispone de estas dos funciones, podemos definir las
funciones FIBONACCI(N), PELL(N), LUCAS(N) y demás, igualando su definición a la
de Horadam. Por ejemplo, LUCAS(N) se definirá así:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Lucas(n)=horadam(n, 2,1,1,1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Así tendremos que
lucas(10)=horadam(10,2,1,1,1)=76, como puedes ver en cualquier descripción de
estos números. Imagina que puedes definir así todas estas sucesiones. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;El autor lleva años usando FIBONACCI(N) en
sus cálculos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;La función ORDEN se puede construir de
similar a la que usamos para Primos o capicúas. Puede ser esta:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;Function
eshoradam(n, a1, a2, c1, c2) As Long&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;Dim
v, u, k, t As Long&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;Dim
es As Long&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;If
n = a1 Then eshoradam = 1: Exit Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;If
n = a2 Then eshoradam = 2: Exit Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;v
= a1: t = a2: k = 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;While
t &amp;lt;= n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;If
t = n Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;es
= k&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;ElseIf
t &amp;gt; n Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;es
= 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;End
If&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;u
= c1 * t + c2 * v: v = t: t = u: k = k + 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Wend&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;eshoradam = es&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;End Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Nos devuelve el orden k si es un término
de la sucesión, o un cero si no lo es.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;El autor usa en su hoja de cálculos
diarios esta versión, que le permite averiguar si un número dado es de uno de
los tipos populares de esta sección:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;Function
estipohoradam$(n)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;Dim
s$&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;Dim
es As Long&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;s = &quot;&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;es = eshoradam(n, 1, 1, 1, 1):
If es &amp;lt;&amp;gt; 0 Then s = s + &quot; Fibonacci &quot; + &quot; &amp;amp; &quot; +
ajusta(es)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;es = eshoradam(n, 2, 1, 1, 1):
If es &amp;lt;&amp;gt; 0 Then s = s + &quot; Lucas &quot; + &quot; &amp;amp; &quot; +
ajusta(es)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;es = eshoradam(n, 0, 1, 2, 1):
If es &amp;lt;&amp;gt; 0 Then s = s + &quot; Pell &quot; + &quot; &amp;amp; &quot; +
ajusta(es)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;es = eshoradam(n, 1, 1, 2, 1):
If es &amp;lt;&amp;gt; 0 Then s = s + &quot; Pell-Lucas &quot; + &quot; &amp;amp; &quot; +
ajusta(es)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;es = eshoradam(n, 2, 3, 3,
-2): If es &amp;lt;&amp;gt; 0 Then s = s + &quot; Pisot &quot; + &quot; &amp;amp; &quot; +
ajusta(es)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;es = eshoradam(n, 0, 1, 1, 2):
If es &amp;lt;&amp;gt; 0 Then s = s + &quot; Jacobsthal &quot; + &quot; &amp;amp; &quot; +
ajusta(es)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;es = eshoradam(n, 2, 1, 1, 2):
If es &amp;lt;&amp;gt; 0 Then s = s + &quot; Jacobsthal-Lucas &quot; + &quot; &amp;amp;
&quot; + ajusta(es)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;If s = &quot;&quot; Then s =
&quot;No es de ningún tipo&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;estipohoradam = s&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;End Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Así, por ejemplo, estipohoradam(76) nos
devuelve &lt;i&gt;Lucas&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&amp;amp; 10, y &lt;/i&gt;estipohoradam(81),
&lt;i&gt;No es de ningún tipo&lt;/i&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Podemos seguir recorriendo tipos de
sucesiones recurrentes, como las de Perrin y otras, pero no suelen demandar
nuestros trabajos unas funciones directas como las que aquí se han presentado.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Otras recurrencias&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;El contenido de esta entrada nos ayuda si
necesitamos definir una función para sucesiones que no sean de Horadam, pero el
procedimiento para encontrar funciones de este tipo es el mismo, salvo la
fórmula de recurrencia. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/2152692410207393855/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/2152692410207393855' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/2152692410207393855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/2152692410207393855'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/05/funciones-definidas-para-tipos-de_0209438943.html' title='Funciones definidas para tipos de números (3)'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-4361921801584438232</id><published>2026-05-21T19:51:00.001+02:00</published><updated>2026-05-21T19:51:00.118+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Algoritmos"/><category scheme="http://www.blogger.com/atom/ns#" term="Funciones"/><category scheme="http://www.blogger.com/atom/ns#" term="Tipos de números"/><title type='text'>Funciones definidas para tipos de números (2)</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En la anterior entrada de esta serie se estudiaron funciones del tipo TRIANGULAR(N) o OBLONGO(N), que se caracterizan por poseer una fórmula, y sólo hay que buscar la función inversa u ORDEN, En esta segunda entrada se incluirán funciones sin fórmula, que necesitan la ayuda de una búsqueda.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: inherit;&quot;&gt;Funciones
basadas en búsqueda&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Es el caso de la función PRIMO(N). Se
necesita otra función, llamemos ESPRIMO, que indique si un número es del tipo
dado o no, y después habrá que contar los casos que indique su orden N para
llegar a a su valor. Lo vemos según el tipo, tomando los números primos como
ejemplo para los siguientes:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #0c343d;&quot;&gt;Función PRIMO(N) &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;Necesitaremos
la función ESPRIMO, descargable desde este blog, por ejemplo, en &lt;/span&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2009/03/primos-reversibles-primo-omirp.html&quot;&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;https://hojaynumeros.blogspot.com/2009/03/primos-reversibles-primo-omirp.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: black; line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;El siguiente código, adaptable a cualquier
lenguaje de programación, encuentra el primo de orden n. Servirá de modelo para
otros ejemplos, cambiando la línea que se señala.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Function
primo(n)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim
p, c, i&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&#39;encuentra el primo cuyo número de orden
es n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;c = 0: i = 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;While c &amp;lt; n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;If esprimo(i) Then c = c + 1:
p = i &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;‘Esta línea se cambiará en otros ejemplos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;i
= i + 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Wend&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;primo
= p&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End
Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Por ejemplo, ¿cuál es el número primo de
orden 1000? La respuesta sería 7919. Lo comprobamos con PARI, que ya tiene
implementada la función PRIME:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;? print(prime(1000))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;7919&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Volveremos a esta estructura de función.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #0c343d;&quot;&gt;Función inversa, ORDENPRIMO&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;También aquí nos servirá de modelo para
otros casos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Function
ordenprimo(a) As Long&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim
p, c As Long&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If
not esprimo(a) Then ordenprimo = 0: Exit Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;c = 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;For p = 1 To a&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;If esprimo(p) Then c = c + 1 &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;‘línea
que cambiará según ejemplos&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Next
p&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;ordenprimo
= c&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End
Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Se entiende bien. Se van recorriendo los
números del mismo tipo hasta llegar al que nos interesa. Por experiencia se
sabe que es útil que, si el número no es primo, la función devuelva un cero. De
ahí la inclusión de la primera línea.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Así, ordenprimo(100)=0 y ordenprimo(101)=27,
ya que primo(27)=103&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En PARI no están implementados órdenes,
pero esta sencilla línea lo resuelve:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;ordenprimo(a)=my(c=0,p);for(p=1,a,if(isprime(p),c+=1));c*isprime(a)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Aquí, la solución para que dé un cero si
no es primo se encuentra al final. Al multiplicar por &lt;i&gt;isprime(a)&lt;/i&gt;, anula
el resultado si no es primo, porque vale cero. En este recorte se observa la
aplicación de esta función al 100 y al 103:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_i1029&quot; style=&quot;height: 80.5pt; mso-wrap-style: square; visibility: visible; width: 425pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioAmtqXnSaxqi2dq9_drbOy8hxaRpQr2eEtgSLOdJzhQIjRFoF4n1vj39OHp7kkqIbH_yCfuwH_Cm5NflKKxZbkc9cLNTRXv0RIw6OdA3z30kjmEKvFQQa_5yI3o_tq29d-15YlvMV2Ut-HM-kca5mYQXofk_E93QMfuz-RKsznAxcIiQB50Glg0TR2kM/s567/tipo5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;108&quot; data-original-width=&quot;567&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioAmtqXnSaxqi2dq9_drbOy8hxaRpQr2eEtgSLOdJzhQIjRFoF4n1vj39OHp7kkqIbH_yCfuwH_Cm5NflKKxZbkc9cLNTRXv0RIw6OdA3z30kjmEKvFQQa_5yI3o_tq29d-15YlvMV2Ut-HM-kca5mYQXofk_E93QMfuz-RKsznAxcIiQB50Glg0TR2kM/s16000/tipo5.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Este modelo se usará más adelante si se ve
conveniente.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Una función similar es PRIMOSOPHIE(N), que
devuelve el enésimo primo de &lt;b&gt;Sophie Germain&lt;/b&gt;. Basta añadir a &lt;i&gt;esprimo(n)&lt;/i&gt;
la función &lt;i&gt;esprimo(2*n+1)&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Así, cambiaríamos la línea a &lt;b&gt;&lt;i&gt;If
esprimo(p) and esprimo(2*n+1) Then c = c + 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Lo dejo como ejercicio. Debe dar, por
ejemplo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;primosophie(7)= 41, y ordenprimosophie(233)=16&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;color: #0c343d; font-family: inherit;&quot;&gt;Función SEMIPRIMO(N)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;color: #0c343d; font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Los semiprimos son aquellos números
compuestos que equivalen al producto de dos primos. Como 4=2*2 y 62=2*31. La
función SEMIPRIMO es sencilla si se posee la BIGOMEGA, que es el número de
factores primos de un número. En PARI sí existe, con lo que los semiprimos son
aquellos en los que bigomega vale 2.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Sería &lt;b&gt;&lt;i&gt;essemiprimo(n)=bigomega(n)==2&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En la imagen observamos dos resultados.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmxusysGI6ViXJNnu6TB6JW2KbStCa4PhsOKQXjv44TbBLEytK3tldRma9GRRVk3zQ_ydxKqU-uYPuQ8NV3pgPyI3KOqcxSWiXe5dN-oIFmT2NmNWLEDLyYdjYrWeuhUBsAmuoE8PQdvOEqeP7bQdhERKW-nG4J_JmSzgRpxnJwF_PxkwIVwm8uxhbGuo/s244/tipo6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;99&quot; data-original-width=&quot;244&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmxusysGI6ViXJNnu6TB6JW2KbStCa4PhsOKQXjv44TbBLEytK3tldRma9GRRVk3zQ_ydxKqU-uYPuQ8NV3pgPyI3KOqcxSWiXe5dN-oIFmT2NmNWLEDLyYdjYrWeuhUBsAmuoE8PQdvOEqeP7bQdhERKW-nG4J_JmSzgRpxnJwF_PxkwIVwm8uxhbGuo/s16000/tipo6.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En el caso de VBASIC es preferible
dedicarle un código especial. Consiste en buscar dos primos tales que su
producto sea el número dado. Puede ser este:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Public Function essemiprimo(n)
As Boolean&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim a, r&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim es As Boolean&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;es = False &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&#39;Al
principio suponemos que no es semiprimo&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;a = 2 &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&#39;La
variable a recorrerá los números primos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;r = Sqr(n) &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;‘Tope
de búsqueda&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;While
a &amp;lt;= r And Not es&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If
n / a = n \ a And esprimo(a) And esprimo(n / a) Then es = True&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;‘La variable &lt;b&gt;a&lt;/b&gt; debe ser divisor,
primo, y su cociente con N también primo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;If a = 2 Then a = a + 1 Else a
= a + 2 &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&#39;Se busca el próximo primo&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Wend&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;essemiprimo = es&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Ahora basta sustituir, en la función
PRIMO(N), la línea&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;If
esprimo(i) Then c = c + 1: p = I &lt;/span&gt;&lt;/i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;por&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If essemiprimo(i)
Then c = c + 1: p = i&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Tendremos así formada la función &lt;b&gt;SEMIPRIMO(N)&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Como comprobación se dan algunos valores:
SEMIPRIMO(13)=35, SEMIPRIMO(100)=314 y SEMIPRIMO(1000)=3595&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Igualmente podemos adaptar la función
ORDENPRIMO a ORDENSEMIPRIMO. Se deja como ejercicio. Esta es la comprobación de
los semiprimos del párrafo anterior:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyNqZQKA3Le10YdeIWezlWBScnS13R5bNlTfFPVlocOj2g4g-olbJHkvd34LPVLlqYoumpnI2Tpxx-zU6Yjop7QZ1kYR7FUSYe3CCCw7u6GjHl6CSKJgyZKzMmHnsJezi9zuRr2SLvgJtiJbbLw0tsUF5ohn5OoeQKJ24Yje4sJWq-SUKkv9IRB2hZXtI/s220/tipo7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;92&quot; data-original-width=&quot;220&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyNqZQKA3Le10YdeIWezlWBScnS13R5bNlTfFPVlocOj2g4g-olbJHkvd34LPVLlqYoumpnI2Tpxx-zU6Yjop7QZ1kYR7FUSYe3CCCw7u6GjHl6CSKJgyZKzMmHnsJezi9zuRr2SLvgJtiJbbLw0tsUF5ohn5OoeQKJ24Yje4sJWq-SUKkv9IRB2hZXtI/s16000/tipo7.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;v:shape id=&quot;Imagen_x0020_1&quot; o:spid=&quot;_x0000_i1027&quot; style=&quot;height: 69pt; mso-wrap-style: square; visibility: visible; width: 165pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #0c343d;&quot;&gt;Función CAPICUA(N)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Los números capicúas (o palindrómicos) son
los que presentan simetría en sus cifras (nos limitaremos a base 10), y tienen
un orden predecible, pero es más cómodo considerar que aparecen de forma
aleatoria. Por eso se incluyen aquí. Como en anteriores tipos, necesitamos una
función ESCAPICUA. En VBASIC de Excel y Calc ya está resuelta en este blog &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;(ver &lt;/span&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2017/10/suma-de-cuadrado-y-capicua.html&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://hojaynumeros.blogspot.com/2017/10/suma-de-cuadrado-y-capicua.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;No tiene en cuenta los números de una
cifra.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En PARI&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;es sencilla:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;ispal(n)=n==eval(concat(Vecrev(Str(n))))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Ya se ha explicado en este blog que
significa “convertir en texto, invertir sus cifras como vector, reunirlas y
calcular su valor”. Es bastante ingenioso.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Como en los otros casos, se cambia la línea
adecuada en el código y resulta la función.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Un ejemplo de búsqueda sería, por ejemplo:
Encontrar dos capicúas consecutivos cuya suma sea un número primo.
Introduciremos en un Buscador esta condición:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If ESPRIMO(CAPICUA(N)+CAPICUA(N+1))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Las primeras soluciones son:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7hMOS-P72OnlHCcSxp8SrsmQ4apVNjo_xQ38Ub0mPw4pLXXzMj0D89GmQwlNWWgMHJdIY_vLdNimVpT0vR1uih_Z0sxIiHZUDGfwuFOkmxBSVeuB7HPFSxRncysTxpEnvmChAUmUrg1bJ2alE8bVxAyEDHj0JtmRROKluYeLvykn4lgVcVd_JlZmEqKc/s381/tipo8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;75&quot; data-original-width=&quot;381&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7hMOS-P72OnlHCcSxp8SrsmQ4apVNjo_xQ38Ub0mPw4pLXXzMj0D89GmQwlNWWgMHJdIY_vLdNimVpT0vR1uih_Z0sxIiHZUDGfwuFOkmxBSVeuB7HPFSxRncysTxpEnvmChAUmUrg1bJ2alE8bVxAyEDHj0JtmRROKluYeLvykn4lgVcVd_JlZmEqKc/s16000/tipo8.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;v:shape id=&quot;Imagen_x0020_2&quot; o:spid=&quot;_x0000_i1026&quot; style=&quot;height: 56pt; mso-wrap-style: square; visibility: visible; width: 286pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dos de las sumas son “palprimos”, primo y
capicúa, pero la central es número primo, pero no palindrómico. Si les
adjuntamos sus órdenes, observamos tres situaciones distintas:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqP-Q7LeRmY1GCrOy_DEXmxhiNB9My4f49Ea5yIrjgr0ZY4qWcTnoqtaL74lhyphenhyphen4MtjieKwiqMAsO1gNCfUKDE2hM0G_KfLGZh7b5fkWvGAtLdVtzJzAjgNnuu_Cicloa7oxjeqvZo4RS16nUKsjVU2n8lBgLYgzg3gY_TIFndkuC-mEFFMdWPaLo21NlI/s317/tipo9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;67&quot; data-original-width=&quot;317&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqP-Q7LeRmY1GCrOy_DEXmxhiNB9My4f49Ea5yIrjgr0ZY4qWcTnoqtaL74lhyphenhyphen4MtjieKwiqMAsO1gNCfUKDE2hM0G_KfLGZh7b5fkWvGAtLdVtzJzAjgNnuu_Cicloa7oxjeqvZo4RS16nUKsjVU2n8lBgLYgzg3gY_TIFndkuC-mEFFMdWPaLo21NlI/s16000/tipo9.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;v:shape id=&quot;Imagen_x0020_3&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 50pt; mso-wrap-style: square; visibility: visible; width: 237.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En la primera, al sumar capicúas se suman
también sus órdenes, porque no hay arrastre de cifras. En la segunda hay un
cero porque no es capicúa, y en la tercera no se suman los órdenes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Este tipo de funciones nos proporciona más
posibilidades en las búsquedas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;color: #0c343d; font-family: inherit;&quot;&gt;Otras funciones&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;color: #0c343d; font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Podíamos seguir con el tema de funciones
que necesitan una búsqueda previa. Algunas posibles serían:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;INTERPRIMO(N): buscaría números que son
promedio entre dos primos consecutivos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;ESFENICO(N): para números que son producto
de tres primos distintos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;LIBREDECUADRADOS(N): cuando ningún factor
primo posee un exponente mayor que uno.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;CUADPRIMO(N): cuadrado de un primo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con los estudiados ya se puede tener una
idea.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/4361921801584438232/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/4361921801584438232' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/4361921801584438232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/4361921801584438232'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/05/funciones-definidas-para-tipos-de_0904455209.html' title='Funciones definidas para tipos de números (2)'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioAmtqXnSaxqi2dq9_drbOy8hxaRpQr2eEtgSLOdJzhQIjRFoF4n1vj39OHp7kkqIbH_yCfuwH_Cm5NflKKxZbkc9cLNTRXv0RIw6OdA3z30kjmEKvFQQa_5yI3o_tq29d-15YlvMV2Ut-HM-kca5mYQXofk_E93QMfuz-RKsznAxcIiQB50Glg0TR2kM/s72-c/tipo5.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-2937169224902463650</id><published>2026-05-14T15:00:00.001+02:00</published><updated>2026-05-14T15:00:00.179+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Algoritmos"/><category scheme="http://www.blogger.com/atom/ns#" term="Funciones"/><category scheme="http://www.blogger.com/atom/ns#" term="Tipos de números"/><title type='text'>Funciones definidas para tipos de números (1)</title><content type='html'>&lt;p&gt;&lt;span style=&quot;color: #660000;&quot;&gt;&amp;nbsp;&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Introducción&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En algunos cálculos se desea poder usar
funciones definidas del tipo PRIMO(N), PELL(N), que se puedan integrar en
expresiones, como 2*PRIMO(6) o (FIBONACCI(7))^2. En ellas llamaremos &lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;orden&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;
al contenido del paréntesis. Así, PRIMO(7) poseería orden 7, que correspondería
con el número de primos menores o iguales al dado.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;El objetivo de esta entrada es la
construcción de estas funciones en los casos más populares, así como las
complementarias para encontrar el orden, según ellas, de un número dado. Así,
por ejemplo, PRIMO(6)=13 y ORDENPRIMO(13)=6. Algunas de ellas se han usado en
este blog, por lo que sólo se enlazarán cuando llegue su turno.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Veremos tres clases de situaciones:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 8.0pt; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;1)&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit; line-height: 120%; text-indent: -18pt;&quot;&gt;El
tipo de número posee fórmula (se comprende que debe ser sencilla). Es el caso
de TRIANGULAR(N)=N(N+1)/2. Entonces existirá un procedimiento algebraico no muy
difícil.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;2)&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit; line-height: 120%; text-indent: -18pt;&quot;&gt;No
existe fórmula alguna. Los números primos y los libres de cuadrados, por
ejemplo, se encuentran por búsqueda. En ese caso será imprescindible un bucle
respecto a una variable para encontrarlos. Se necesita un lenguaje de
programación.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;3)&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit; line-height: 120%; text-indent: -18pt;&quot;&gt;Son
elementos de una sucesión recurrente. Aunque suelen existir fórmulas para todos
ellos, su complicación no los aconseja, y es más sencilla la programación en un
lenguaje. Como caso particular se verán las sucesiones del tipo Horadam.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;Existe
otra posibilidad, y es que posean una función generatriz. Este procedimiento se
ha usado mucho en este blog, pero no entra en el objetivo de esta entrada.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dedicaremos tres entradas a esta cuestión&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: inherit;&quot;&gt;Funciones con fórmula&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;color: #660000; font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Muchas de ellas se han utilizado aquí ya.
Las más importantes son las de números figurados, como TRIANGULAR(N),
HEXAGONAL(N) O PIRAMIDAL(N,K). Elijo algunos ejemplos con cierto interés:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #0c343d;&quot;&gt;TRIANGULAR(N)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;La fórmula directa, TRIANGULAR(N)=N*(N+1)/2,
no necesita explicación, pero para hallar la de su orden hay que recordar que,
dado un triangular cualquiera, T(N), la expresión 8T(N)+1 es un cuadrado. De
ahí podemos sacar su orden. Una versión podría ser el siguiente:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Function
ordentriang(n)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim
a&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;a
= Int((Sqr(8 * n + 1) - 1) / 2)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If
a * (a + 1) = 2 * n Then ordentriang = a else ordentriang = 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Una situación similar es la de la función
OBLONGO(N)=N(N+1), sólo que aquí la propiedad básica es que cuatro veces un
oblongo más la unidad es un cuadrado, así que sustituyendo en la función
anterior un 8 por un 4 obtenemos la expresión de ORDENOBLONGO(N). &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En la práctica, es mucho más útil &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;ORDENOBLONGO(N)=ENTERO(RAIZ(n))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;No es difícil razonarlo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Por ejemplo, resolvemos la cuestión de si
existen oblongos que sean consecutivos a un triangular. Para ello se inserta en
un buscador la condición&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If
escuad(8 * i + 1) And escuad(4 * (i + 1) + 1) Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;El escaso resultado era previsible, ya que
se exige una condición difícil de cumplir, pero se encuentran tres soluciones
entre los primeros cincuenta mil números, 1 con 2, 55 y 56, y el par 1891, 1892:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNQXTWlWmqgm3Zs2oEaKPx7b9MtTDb8hY75QAbktV1xUQguZ1yCG6qw4gdQ_yr9XuWEkk9tM8r3qC6vuC7XVcup45wF8mUeyQaYE4lHO_QqE9exggQRAJqsDvvV6xqcO6zZ4GAFSxRH4_hn7AMLX3aHGPAfKkqt8_gF1Fb8TnTlCF7HXa0NKguBiHcoxw/s408/tipo2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;103&quot; data-original-width=&quot;408&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNQXTWlWmqgm3Zs2oEaKPx7b9MtTDb8hY75QAbktV1xUQguZ1yCG6qw4gdQ_yr9XuWEkk9tM8r3qC6vuC7XVcup45wF8mUeyQaYE4lHO_QqE9exggQRAJqsDvvV6xqcO6zZ4GAFSxRH4_hn7AMLX3aHGPAfKkqt8_gF1Fb8TnTlCF7HXa0NKguBiHcoxw/s16000/tipo2.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_i1028&quot; style=&quot;height: 77.5pt; mso-wrap-style: square; visibility: visible; width: 306pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;El resto de soluciones está publicado en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A217758&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://oeis.org/A217758&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;color: #274e13; font-family: inherit;&quot;&gt;Un atajo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;color: #274e13; font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si usamos el álgebra, obtenemos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Es n(n+1)/2+1=k(k+1), n&lt;sup&gt;2&lt;/sup&gt;+n+2=2k&lt;sup&gt;2&lt;/sup&gt;+2k,
4n&lt;sup&gt;2&lt;/sup&gt;+4n+8=8k&lt;sup&gt;2&lt;/sup&gt;+8k,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;(2n+1)&lt;sup&gt;2&lt;/sup&gt;+7=2(2k+1)&lt;sup&gt;2&lt;/sup&gt;-2
y hago X=2n+1 Y=2k+1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;X&lt;sup&gt;2&lt;/sup&gt;-2y&lt;sup&gt;2&lt;/sup&gt;=-9, luego &lt;b&gt;(X&lt;sup&gt;2&lt;/sup&gt;+9)/2
es cuadrado&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Le inserto esta condición al buscador y
obtengo los triangulares publicados:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyyxBy9hEaCYH-pOn_81sMasyfoQYEd1LOUfrfHGzyK3WU_siit4H45sYG7l5fRvoHyynB3aqYAMfdLkUPuG57XEcZqdJnNG3ynmTcs7YsDbqXo7yypiN9ZiVWFoND1-JExSiqvPqRypSwJL85jFScbpdZwyjWYdM4mkn2WSlPFTWo2WxMjj6m9h_ijh8/s389/tipo3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;112&quot; data-original-width=&quot;389&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyyxBy9hEaCYH-pOn_81sMasyfoQYEd1LOUfrfHGzyK3WU_siit4H45sYG7l5fRvoHyynB3aqYAMfdLkUPuG57XEcZqdJnNG3ynmTcs7YsDbqXo7yypiN9ZiVWFoND1-JExSiqvPqRypSwJL85jFScbpdZwyjWYdM4mkn2WSlPFTWo2WxMjj6m9h_ijh8/s16000/tipo3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;v:shape id=&quot;Imagen_x0020_2&quot; o:spid=&quot;_x0000_i1027&quot; style=&quot;height: 84.5pt; mso-wrap-style: square; visibility: visible; width: 292pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Siempre hay que acudir al Álgebra cuando se pueda.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #0c343d;&quot;&gt;POLIGONAL(N;K)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Fórmula directa&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;Los números poligonales poseen una fórmula
general, que he desarrollado en mi publicación &lt;/span&gt;&lt;a href=&quot;https://www.hojamat.es/publicaciones/poligonales.pdf&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;Números
poligonales&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxYTcsnQBpMOOiaCR6yQQfyls1PDqk0s3W5ud2wTn5ubBgzhDPWOidi-jhaGT_3hmg-Has5mGRylRb3MJnrhMhdDK6M0Pr8zxsgHbyO83QwKXZzn_jIZetN_LdYw2ODQX_k7VUncbkG8Z3Yi5oobBMqFQP-xLAg2vOU5amd1rIBnc3w6ziX5Sjx1vHXmw/s257/tipo1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;61&quot; data-original-width=&quot;257&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxYTcsnQBpMOOiaCR6yQQfyls1PDqk0s3W5ud2wTn5ubBgzhDPWOidi-jhaGT_3hmg-Has5mGRylRb3MJnrhMhdDK6M0Pr8zxsgHbyO83QwKXZzn_jIZetN_LdYw2ODQX_k7VUncbkG8Z3Yi5oobBMqFQP-xLAg2vOU5amd1rIBnc3w6ziX5Sjx1vHXmw/s16000/tipo1.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;v:shape id=&quot;_x0000_i1026&quot; style=&quot;height: 46pt; mso-wrap-style: square; visibility: visible; width: 193pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Su traducción es inmediata:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En VBASIC:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Function
poligonal(n, k)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;poligonal = n * (n
* (k - 2) - (k - 4)) / 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Fórmula del orden&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;El problema inverso es algo complicado. Lo
puedes consultar en el apartado de &lt;i&gt;Caracterización de los poligonales&lt;/i&gt;,
en la publicación enlazada más arriba.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Su desarrollo en VBASIC es &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Function ordenpoligonal(n, k)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim d, e, m&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;m
= 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;d
= (k - 4) ^ 2 + 8 * n * (k - 2)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If
escuad(d) Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;m
= (k - 4 + Sqr(d)) / 2 / (k - 2)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If
esentero(m) Then e = m Else e = 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End
If&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;espoligonal = e&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Esta función devuelve un cero si el número
no es poligonal, y su orden si lo es. Las funciones ESCUAD Y ESENTERO se pueden
buscar en este blog, o sustituirlas por cálculos más directos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Estas dos funciones poseen una traducción
sencilla a PARI, por lo que no se incluye.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con ellas podemos buscar relaciones entre
poligonales. Por ejemplo ¿Para qué órdenes la suma de un cuadrado con un
triangular del mismo orden da una suma hexagonal?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Se buscaría que &lt;b&gt;&lt;i&gt;poligonal(i,3)+poligonal(i,4)=poligonal(k,6)&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con un buscador he encontrado estas dos
primeras soluciones, con comprobación de la relación de suma entre ellas:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1zTW5vwwtzWBzd3_527DPoFvhzRaLGdYQrk7tC9KtKlHp7QM3zbo5VQP1brUuRy7hEIUM7sx6Qe2PAdYd349SNZY_g1UBlQI8xbjajsyOjgNiF9aIkonXqs6i5fu5gNd924XeIbKi3iQ-uls-cFywRu9Ux4tYtyQy96kHjWirXrQGOkGz46WuzzShEps/s432/tipo4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;163&quot; data-original-width=&quot;432&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1zTW5vwwtzWBzd3_527DPoFvhzRaLGdYQrk7tC9KtKlHp7QM3zbo5VQP1brUuRy7hEIUM7sx6Qe2PAdYd349SNZY_g1UBlQI8xbjajsyOjgNiF9aIkonXqs6i5fu5gNd924XeIbKi3iQ-uls-cFywRu9Ux4tYtyQy96kHjWirXrQGOkGz46WuzzShEps/s16000/tipo4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;v:shape id=&quot;Imagen_x0020_1&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 122pt; mso-wrap-style: square; visibility: visible; width: 324pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Otros poligonales&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En mi calculadora de números figurados
CALCUPOL, en su código VBASIC, puedes consultar todas las funciones disponibles
para poligonales centrados, piramidales 3D y piramidales 4D. Es un tema tan
extenso, que es preferible dejarlo como complemento para las personas
interesadas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;https://www.hojamat.es/sindecimales/aritmetica/herramientas/herrarit.htm#figurados&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://www.hojamat.es/sindecimales/aritmetica/herramientas/herrarit.htm#figurados&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/2937169224902463650/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/2937169224902463650' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/2937169224902463650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/2937169224902463650'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/05/funciones-definidas-para-tipos-de.html' title='Funciones definidas para tipos de números (1)'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNQXTWlWmqgm3Zs2oEaKPx7b9MtTDb8hY75QAbktV1xUQguZ1yCG6qw4gdQ_yr9XuWEkk9tM8r3qC6vuC7XVcup45wF8mUeyQaYE4lHO_QqE9exggQRAJqsDvvV6xqcO6zZ4GAFSxRH4_hn7AMLX3aHGPAfKkqt8_gF1Fb8TnTlCF7HXa0NKguBiHcoxw/s72-c/tipo2.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-5601838289292512452</id><published>2026-05-04T12:11:00.001+02:00</published><updated>2026-05-04T12:11:00.113+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Números figurados"/><category scheme="http://www.blogger.com/atom/ns#" term="Recurrencias"/><category scheme="http://www.blogger.com/atom/ns#" term="Sucesiones"/><title type='text'>Unas recurrencias muy útiles</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Quienes
usamos a menudo los números poligonales nos encontramos con esta relación de
recurrencia de tercer orden:&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: center;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;x&lt;sub&gt;n&lt;/sub&gt;= 3x&lt;sub&gt;n-1&lt;/sub&gt;-3x&lt;sub&gt;n-2&lt;/sub&gt;+x&lt;sub&gt;n-3&lt;o:p&gt;&lt;/o:p&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;El origen de esta presencia es que se pueden
generar con ella los números naturales, sus cuadrados y, evidentemente, las
constantes:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Números
naturales&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Se pueden generar mediante &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: center;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;x&lt;sub&gt;1&lt;/sub&gt;=1, x&lt;sub&gt;2&lt;/sub&gt;=2,&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;x&lt;sub&gt;3&lt;/sub&gt;=3, x&lt;sub&gt;n&lt;/sub&gt;= 3x&lt;sub&gt;n-1&lt;/sub&gt;-3x&lt;sub&gt;n-2&lt;/sub&gt;+x&lt;sub&gt;n-3&lt;o:p&gt;&lt;/o:p&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En efecto, aquí x&lt;sub&gt;n&lt;/sub&gt; es &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;n&lt;/b&gt;, x&lt;sub&gt;n-1&lt;/sub&gt;, &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;n-1&lt;/b&gt;, luego&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;3(n-1)-3(n-2)+n-3=3n-3-3n+6+n-3=n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Esto demuestra que la recurrencia con estos
coeficientes es verdadera.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Números
cuadrados&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En ellos también es válida esta recurrencia.
Lo vemos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;x&lt;sub&gt;n+1&lt;/sub&gt;=(n+1)&lt;sup&gt;2&lt;/sup&gt;=n&lt;sup&gt;2&lt;/sup&gt;+2n+1=x&lt;sub&gt;n&lt;/sub&gt;+2n+1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;x&lt;sub&gt;n+2&lt;/sub&gt;=(n+2)&lt;sup&gt;2&lt;/sup&gt;=(n+1)&lt;sup&gt;2&lt;/sup&gt;+2(n+1)+1=x&lt;sub&gt;n+1&lt;/sub&gt;+2n+3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Luego, despejando:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;x&lt;sub&gt;n+2 &lt;/sub&gt;- x&lt;sub&gt;n+1 &lt;/sub&gt;= x&lt;sub&gt;n+1&lt;/sub&gt;-
x&lt;sub&gt;n &lt;/sub&gt;+2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;x&lt;sub&gt;n+2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/sub&gt;= 2x&lt;sub&gt;n+1&lt;/sub&gt;- x&lt;sub&gt;n &lt;/sub&gt;+2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;De igual forma&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;x&lt;sub&gt;n+3&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/sub&gt;= 2x&lt;sub&gt;n+2&lt;/sub&gt;- x&lt;sub&gt;n+1 &lt;/sub&gt;+2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Restamos las dos igualdades y agrupamos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;x&lt;sub&gt;n+3&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/sub&gt;- x&lt;sub&gt;n+2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/sub&gt;= 2x&lt;sub&gt;n+2&lt;/sub&gt;-
x&lt;sub&gt;n+1 &lt;/sub&gt;+2 -2x&lt;sub&gt;n+1&lt;/sub&gt;+ x&lt;sub&gt;n &lt;/sub&gt;-2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Despejando:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;x&lt;sub&gt;n+3&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/sub&gt;= 3x&lt;sub&gt;n+2 &lt;/sub&gt;-3x&lt;sub&gt;n+1&lt;/sub&gt;+ x&lt;sub&gt;n &lt;/sub&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con esto se demuestra la validez de la
recurrencia. Por ejemplo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;11&lt;sup&gt;2&lt;/sup&gt;=121=3*10&lt;sup&gt;2&lt;/sup&gt;-3*9&lt;sup&gt;2&lt;/sup&gt;+8&lt;sup&gt;2&lt;/sup&gt;=300-243+64=364-243=121&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;También nos vale un desarrollo directo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;(n+3)&lt;sup&gt;2&lt;/sup&gt;=3(n+2)&lt;sup&gt;2&lt;/sup&gt;-3(n+1)&lt;sup&gt;2&lt;/sup&gt;+n&lt;sup&gt;2&lt;/sup&gt;=3n&lt;sup&gt;2&lt;/sup&gt;+12n+12-3n&lt;sup&gt;2&lt;/sup&gt;-6n-3+n&lt;sup&gt;2&lt;/sup&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;n&lt;sup&gt;2&lt;/sup&gt;+6n+9=n&lt;sup&gt;2&lt;/sup&gt;+6n+9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Identidad que demuestra la recurrencia.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Constantes&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Una constante K sometida a esa recurrencia
sigue teniendo el valor de K: 3*K-3*K+K=K&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Números
oblongos&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Siguen la fórmula n(n+1)=n&lt;sup&gt;2&lt;/sup&gt;+n, y
al ser la recurrencia propuesta de tipo lineal, también será válida en esa suma
de un cuadrado con un natural.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Lo podemos comprobar con los primeros
oblongos: 2, 6, 12, 20, 30, 42, …Por ejemplo, 30=3*20-3*12+6=60-36+6=24+6=30&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Números
triangulares&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Al tener un número triangular la fórmula
n(n+1)/2=(n&lt;sup&gt;2&lt;/sup&gt;+n)/2, es la mitad de un oblongo, luego admitirá la
misma recurrencia. Lo vemos con un ejemplo tomado de la sucesión de números
triangulares:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1 , 3 , 6 , 10 , 15 , 21, 28 , 36 , 45 , 55,
…&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;45=3*36-3*28+21=108-84+21=129-84=45&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Polinomios
de segundo grado&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;También se generarán de la misma forma,
porque cuadrados, números naturales y constantes lo siguen. Lo vemos con
P(x)=2x&lt;sup&gt;2&lt;/sup&gt;-3x+2: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;P(1)=1, P(2)=4, P(3)=11, P(4)=22, P(5)=37,
P(6)=56 y P(7)=79&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Observamos que P(7)=3*56-3*37+22=168-111+22=190-111=79&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Números
poligonales&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Todo número poligonal es suma de
triangulares. Basta ver la imagen:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicVJr42G4YAJ9mrsKHJiarNx2gXZhkkJROU7WJRTtCBiY-yv8VobWHJa-NJyVZqzt6aFgjnXHcwWvjuXMukVCHwWaABBJX8vxMnmL2B-OZ3HsDomAbTYoxHXkHLK1qX0NWRamnu0N5-QuiUJnhwvXrDRProIz0_ZHRmb5h_RQLHvFWndiMMQJFX8JQlIc/s159/recurre.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;122&quot; data-original-width=&quot;159&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicVJr42G4YAJ9mrsKHJiarNx2gXZhkkJROU7WJRTtCBiY-yv8VobWHJa-NJyVZqzt6aFgjnXHcwWvjuXMukVCHwWaABBJX8vxMnmL2B-OZ3HsDomAbTYoxHXkHLK1qX0NWRamnu0N5-QuiUJnhwvXrDRProIz0_ZHRmb5h_RQLHvFWndiMMQJFX8JQlIc/s16000/recurre.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; text-align: left;&quot;&gt;Esta descomposición hace válida la recurrencia en ellos. En mi
publicación sobre estos números se incluye una demostración con la fórmula
general, que es un polinomio de segundo grado: P(n,k)=((k-2)n&lt;/span&gt;&lt;sup style=&quot;font-family: inherit; text-align: left;&quot;&gt;2&lt;/sup&gt;&lt;span style=&quot;font-family: inherit; text-align: left;&quot;&gt;-(k-4)n)/2&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://www.hojamat.es/publicaciones/poligonales.pdf&quot;&gt;&lt;span style=&quot;color: windowtext; mso-bidi-font-family: Arial;&quot;&gt;https://www.hojamat.es/publicaciones/poligonales.pdf&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En esa publicación figuran otras recurrencias
que a veces son más rápidas que la propuesta.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;También siguen esta recurrencia los &lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;poligonales centrados&lt;/i&gt;, de fórmula
POLC(n,k)=(kn&lt;sup&gt;2&lt;/sup&gt;-kn+2)/2 , por ser también polinomio de segundo grado.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Números
piramidales&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Las sucesiones recurrentes de orden h se
pueden sumar mediante la siguiente fórmula, también recurrente, que procede de
la publicación &lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;Sucesiones recurrentes&lt;/i&gt;
de A.I.Markushevich – Editorial Mir. La demostración de ella no es difícil,
pero resulta larga para este estudio:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;s&lt;sub&gt;n+h+1&lt;/sub&gt;=(1+a&lt;sub&gt;1&lt;/sub&gt;)s&lt;sub&gt;n+h&lt;/sub&gt;+(a&lt;sub&gt;2&lt;/sub&gt;-a&lt;sub&gt;1&lt;/sub&gt;)
s&lt;sub&gt;n+h-1&lt;/sub&gt;+ … +(a&lt;sub&gt;h&lt;/sub&gt;-a&lt;sub&gt;h-1&lt;/sub&gt;) s&lt;sub&gt;n+1&lt;/sub&gt;-a&lt;sub&gt;h&lt;/sub&gt;s&lt;sub&gt;n&lt;o:p&gt;&lt;/o:p&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si a esta recurrencia que estamos estudiando
le aplicamos la fórmula de la suma, nos permitirá encontrar una recurrencia
para números piramidales, que son sumas de poligonales consecutivos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Tomamos a&lt;sub&gt;1&lt;/sub&gt;=3, a&lt;sub&gt;2&lt;/sub&gt;=-3 y
a&lt;sub&gt;3&lt;/sub&gt;=1 para aplicarlo a la fórmula de la suma&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;s&lt;sub&gt;n+h+1&lt;/sub&gt;=(1+a&lt;sub&gt;1&lt;/sub&gt;)s&lt;sub&gt;n+h&lt;/sub&gt;+(a&lt;sub&gt;2&lt;/sub&gt;-a&lt;sub&gt;1&lt;/sub&gt;)
s&lt;sub&gt;n+h-1&lt;/sub&gt;+ … +(a&lt;sub&gt;h&lt;/sub&gt;-a&lt;sub&gt;h-1&lt;/sub&gt;) s&lt;sub&gt;n+1&lt;/sub&gt;-a&lt;sub&gt;h&lt;/sub&gt;s&lt;sub&gt;n&lt;o:p&gt;&lt;/o:p&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: center;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;s&lt;sub&gt;n+4&lt;/sub&gt;=4s&lt;sub&gt;n+3&lt;/sub&gt;-6s&lt;sub&gt;n+2&lt;/sub&gt;+4s&lt;sub&gt;n+1&lt;/sub&gt;-s&lt;sub&gt;n&lt;o:p&gt;&lt;/o:p&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Lo aplicamos a los números piramidales
pentagonales, 1, 6, 18, 40, 75, 126, 196, 288, 405, 550, ....&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;550=4*405-6*288+4*196-126=550&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Tal como se advirtió en los poligonales, en
este caso existen recurrencias que pueden ser más simples según el tipo de
piramidal.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Piramidales
de más dimensiones&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Al igual que se pueden estudiar los
piramidales como suma de poligonales consecutivos, se extiende este proceso a
piramidales de más dimensiones, que son suma de piramidales consecutivos del
orden inferior. Se deja como propuesta de estudio.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Arial;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/5601838289292512452/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/5601838289292512452' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/5601838289292512452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/5601838289292512452'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/05/unas-recurrencias-muy-utiles.html' title='Unas recurrencias muy útiles'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicVJr42G4YAJ9mrsKHJiarNx2gXZhkkJROU7WJRTtCBiY-yv8VobWHJa-NJyVZqzt6aFgjnXHcwWvjuXMukVCHwWaABBJX8vxMnmL2B-OZ3HsDomAbTYoxHXkHLK1qX0NWRamnu0N5-QuiUJnhwvXrDRProIz0_ZHRmb5h_RQLHvFWndiMMQJFX8JQlIc/s72-c/recurre.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-4906534049458939130</id><published>2026-04-20T17:59:00.001+02:00</published><updated>2026-04-20T17:59:00.114+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Algoritmos"/><category scheme="http://www.blogger.com/atom/ns#" term="Números primos"/><category scheme="http://www.blogger.com/atom/ns#" term="Teoría"/><title type='text'>Números primos de Pierpont y sus relacionados</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Hay
ya bastantes publicaciones e ideas sobre los &lt;b&gt;&lt;i&gt;primos de Pierpont&lt;/i&gt;&lt;/b&gt;.
A pesar de ello, aún se puede volver a estudiarlos desde la forma de trabajar
en este blog y las herramientas disponibles. Además, son interesantes los
números directamente relacionados con ellos, como los de Mersenne, Fermat o
Proth&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Definición
y primeras consecuencias&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Un&amp;nbsp;&lt;b&gt;número
primo de Pierpont&lt;/b&gt;&amp;nbsp;es un&amp;nbsp;número primo&amp;nbsp;de la forma &lt;b&gt;2&lt;sup&gt;u&lt;/sup&gt;3&lt;sup&gt;v&lt;/sup&gt;+1&lt;/b&gt;,
donde u y v han de ser enteros no negativos. Esto nos lleva a consideraciones
muy sencillas:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;El
exponente &lt;b&gt;u &lt;/b&gt;no puede ser cero, pues la expresión sería par y, por tanto,
no representaría a un número primo. De hecho, si v=0, deberá ser potencia de 2.
La razón está en que una suma de potencias impares es divisible entre la suma
de sus bases. Por ejemplo, (X&lt;sup&gt;5&lt;/sup&gt;+y&lt;sup&gt;5&lt;/sup&gt;)/(x+y)=x&lt;sup&gt;4&lt;/sup&gt;-x&lt;sup&gt;3&lt;/sup&gt;y+x&lt;sup&gt;2&lt;/sup&gt;y&lt;sup&gt;2&lt;/sup&gt;-xy&lt;sup&gt;3&lt;/sup&gt;+y&lt;sup&gt;4&lt;/sup&gt;.
Si el exponente poseyera un factor primo distinto de 2, podríamos descomponer
la potencia como “potencia de potencia”, y aislar el número impar. Por ejemplo
2&lt;sup&gt;12&lt;/sup&gt; se podría expresar como 2&lt;sup&gt;2&lt;/sup&gt; y luego elevado a 3, con
lo que construiríamos una suma de potencias impares, y no podría ser primo. Todo
este razonamiento nos lleva a que si v=0, &lt;b&gt;los primos de Pierpoint serían
también de Fermat&lt;/b&gt;. Más adelante regresaremos a esta idea.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;El
exponente &lt;b&gt;v&lt;/b&gt;, si no es nulo, como también lo es &lt;b&gt;u&lt;/b&gt;, convertiría al
primo de Pierpoint en uno del tipo 6k+1, y posible elemento mayor de un par de
primos gemelos. Otra vía para desarrollar más adelante.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Obtención
de estos primos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Con
las herramientas que se suelen usar en este blog es relativamente fácil
encontrar los primeros primos de Pierpont. La primera idea es construir una
tabla de doble entrada, una para 2&lt;sup&gt;u&lt;/sup&gt; y otra para 3&lt;sup&gt;v&lt;/sup&gt;, y
combinarlas:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id=&quot;_x0000_t75&quot; coordsize=&quot;21600,21600&quot;
 o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; filled=&quot;f&quot;
 stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt;
 &lt;/v:formulas&gt;
 &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt;
 &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt;
&lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_i1029&quot; type=&quot;#_x0000_t75&quot; alt=&quot;Interfaz de usuario gráfica, Tabla, Excel&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto.&quot;
 style=&#39;width:352pt;height:129pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;
  o:title=&quot;Interfaz de usuario gráfica, Tabla, Excel&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img alt=&quot;Interfaz de usuario gráfica, Tabla, ExcelEl contenido generado por IA puede ser incorrecto.&quot; height=&quot;147&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiS03eDpHiZqsr53sKog2IWeC7q1WVoxhtrM3vgqG9N1_w0K3FINfsJXSI7Ear6DipIKqpSeAoyXKmR-glghq-Xo3m-QyqR1UpSK_v0mdvxNAXyMTMkFJFXKrl3udYic3Mo45nWZ5qMKPfpb8Z6JcEvcW4K0YTKrZ64BcIbEBCSXf_0Z0W8ZhXLEDG9_Co=w400-h147&quot; v:shapes=&quot;_x0000_i1029&quot; width=&quot;400&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Por
motivos como este sigo usando las hojas de cálculo, porque toda la tabla se
genera con la fórmula siguiente y sus extensiones a derecha y abajo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;=SI(ESPRIMO(2^D$3*3^$C4+1);2^D$3*3^$C4+1;&quot;&quot;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Esta
concurrencia entre dos potencias también se puede lograr con mi herramienta
CARTESIUS &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;https://www.hojamat.es/sindecimales/combinatoria/herramientas/herrcomb.htm#cartesius&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;https://www.hojamat.es/sindecimales/combinatoria/herramientas/herrcomb.htm#cartesius&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Su
gestión no es fácil a veces, por lo que no acudo mucho a ella en lo que
publico, pero en este caso demuestra su versatilidad. Basta darle las
condiciones siguientes:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;XTOTAL=2&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;XT=0..10&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;VALOR(2^X1*3^X2+1):PRIMO&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Nota:
Es posible que cuando se publique esta entrada aún no se haya implementado la
condición VALOR, que es una mejora del año 2026.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Vienen
a significar que combinaremos dos variables de 0 a 10, y que exigiremos que la
expresión del paréntesis abajo (definición de primo de Pierpoint) debe ser un
número primo. Su respuesta es (solo los primeros casos):&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;Imagen_x0020_13&quot;
 o:spid=&quot;_x0000_i1028&quot; type=&quot;#_x0000_t75&quot; style=&#39;width:162.5pt;height:171.5pt;
 visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhxic_lC6BacK7tjc0s_xunPR5T7MBYaM3Gsac2ULn8bA2QS7ysbtgG7-I24EQWvL19dXWeCrNFJPAPRdtQg1iM3Vq5H7DZhajqX8kBqiQNFzxSh2jAurL5pXsxfxuWHa5wcCsIy5tpp-LFsEBOV4guiHFHnIVbsCKt7UFKvP860WE9HW6F8_m-0kclQOs=s16000&quot; v:shapes=&quot;Imagen_x0020_13&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Aparecen
los primos pedidos, pero desordenados. Por eso es preferible el procedimiento
que elegiré en el siguiente apartado.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: #660000; font-family: inherit; line-height: 120%;&quot;&gt;Caracterización
de estos números&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;La
segunda idea que se nos puede ocurrir es la de anidar dos bucles, uno con
potencias de 2 y otro con las de 3, y filtrar los resultados con la condición
ESPRIMO. Tendría el inconveniente de resultar un proceso largo y poco eficiente
si deseamos manejar rangos de números grandes. Es preferible pensar en una
función que nos determine si un número concreto es o no primo de Pierpont.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;Para
abordar esta función es bueno recordar el concepto de &lt;b&gt;valuación&lt;/b&gt; de un
número respecto a otro (ver &lt;/span&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2012/12/volvemos-visitar-al-mayor-divisor-impar.html&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;https://hojaynumeros.blogspot.com/2012/12/volvemos-visitar-al-mayor-divisor-impar.html&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;), y
es el número de veces consecutivas que un número puede ser dividido por otro.
Por ejemplo, VALUACIÓN(162,3)=4, porque 162 es divisible entre 3&lt;sup&gt;4&lt;/sup&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;En
este caso, si P es de Pierpont, la valuación de P-1 para el 2 es el exponente &lt;b&gt;u&lt;/b&gt;
y la del 3 el &lt;b&gt;v&lt;/b&gt;. Así, el criterio para saber si un número primo es de
este tipo se podría expresar como&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;P-1=2^valuacion(P,2)*3^valuación(P,3)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;En
el lenguaje PARI ya viene implementada como &lt;b&gt;valuation&lt;/b&gt;, y el criterio
total sería:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;p-1==(2^valuation(p-1,2))*(3^valuation(p-1,3))&amp;amp;&amp;amp;isprime(p)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Lo
escribimos como un bucle con inicio y final y así logramos identificar los
primos deseados dentro de un rango (inicio, final)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;inicio=1;final=10000;for(p=inicio,final,if(p-1==(2^valuation(p-1,2))*(3^valuation(p-1,3))&amp;amp;&amp;amp;isprime(p),print1
(i,&quot;, &quot;)))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Con
él se consiguen fácilmente los primeros primos de Pierpont:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;2,
3, 5, 7, 13, 17, 19, 37, 73, 97, 109, 163, 193, 257, 433, 487, 577, 769, 1153,
1297, 1459, 2593, 2917, 3457, 3889, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;Están
publicados en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A005109&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;https://oeis.org/A005109&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;, y en
esa página se pueden consultar variantes de esta idea.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Se
conjetura que existen infinitos números de este tipo, pero no se ha demostrado.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: #660000; font-family: inherit; line-height: 120%;&quot;&gt;Búsqueda
con hoja de cálculo&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;En
una hoja se pueden desarrollar varios aspectos, y quedan muy claros los
detalles. Poseo una sencilla versión en VBASIC de la valuación:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;Function valuacion(n, x) &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;&#39;halla
el exponente de la máxima potencia de x que divide a n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;Dim
s, v&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;s
= n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;v
= 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;While
esmultiplo(s, x): s = s / x: v = v + 1: Wend&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;valuacion = v&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;End Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;La
función ESMULTIPLO se puede sustituir por &lt;b&gt;s/x=s\x&lt;/b&gt;, que es equivalente&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Con
ella se puede construir una tabla más extensa de resultados, introduciendo
líneas similares a las siguientes en un buscador:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;a
= valuacion(i - 1, 2)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;b
= valuacion(i - 1, 3)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;If
i - 1 = potencia(2, a) * potencia(3, b) And esprimo(i) Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Añadiendo
detalles, el resultado sería:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;Imagen_x0020_48&quot;
 o:spid=&quot;_x0000_i1027&quot; type=&quot;#_x0000_t75&quot; alt=&quot;Tabla&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto.&quot;
 style=&#39;width:331pt;height:143pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png&quot;
  o:title=&quot;Tabla&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img alt=&quot;TablaEl contenido generado por IA puede ser incorrecto.&quot; border=&quot;0&quot; height=&quot;173&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhYclW8zy5rcCnf2KuuhaQxxcdxqJaWw7C34kWEQeR5v0K38xSJ8sJDZ3QHpNfpv-2QYYToaQ3Wf1p6CrqB97odGWjsmgDSC2CIqsShs-K3kSi3IDnKyOtVtpZI8tSFxlLpXKWuyDT2qgQcaSdhjCXD6GE-Lsel8pzI4Nz4DNH5fKzBs0kW7R7htxE5BtA=w400-h173&quot; v:shapes=&quot;Imagen_x0020_48&quot; width=&quot;400&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Algunos
del tipo 6k+1 son primos gemelos con sus anteriores, como 5, 7, 13 o 19.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;La
ventaja de este método es que podemos ir a un rango más alto. Estos son los
primeros primos de Pierpont a partir de 1000:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;Imagen_x0020_49&quot;
 o:spid=&quot;_x0000_i1026&quot; type=&quot;#_x0000_t75&quot; alt=&quot;Imagen que contiene Tabla&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto.&quot;
 style=&#39;width:331pt;height:112pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png&quot;
  o:title=&quot;Imagen que contiene Tabla&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img alt=&quot;Imagen que contiene Tabla

El contenido generado por IA puede ser incorrecto.&quot; border=&quot;0&quot; height=&quot;149&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiCONtEdOM5cdhUL0sZdjsHXQOmbfpG5UOGRtAv5rRZdMeEoub_5ibN9R_M9MX_PUa_R83FSQVCjqdcqj7naDK11zZeMJ9gU_yiqlCpjAe9C7Ay6D2ckBrj4YlybODRSGTTLEfMzmGh1HRVhC60r-LnlLP2CeNTwqE0uMMXyAjsIaTlzku7DY4vaIKuYQk&quot; v:shapes=&quot;Imagen_x0020_49&quot; width=&quot;441&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;La
aparición de los números de Fermat da lugar a un curioso paralelismo, que no
desarrollaré porque ya ha sido bien explicado en otros lugares. Los de Fermat
influyen en la construcción de un polígono con regla y compás, mientras los de
Pierpoint lo hacen si se usan dobleces de un papel. En Wikipedia se explica de
forma clara y breve.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;https://es.wikipedia.org/wiki/N%C3%BAmero_primo_de_Pierpont&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;https://es.wikipedia.org/wiki/N%C3%BAmero_primo_de_Pierpont&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Como
anuncié en los primeros párrafos, sólo desarrollaré aspectos en los que sean
útiles mis herramientas usuales. El resto de cuestiones es muy accesible con
una buena búsqueda.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: #660000; font-family: inherit; line-height: 120%;&quot;&gt;Números
afines a los primos de Pierpoint&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Ya
se ha visto su relación con los números de Fermat. También tienen una
definición parecida los siguientes:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Primos
de Proth&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Tienen
como definición el ser números primos de la forma &lt;b&gt;k2&lt;sup&gt;n&lt;/sup&gt;+1&lt;/b&gt;, con
k impar y menor que 2&lt;sup&gt;n&lt;/sup&gt;. Se deduce que algunos de este tipo también
serán de Pierpoint, como 3&lt;sup&gt;1&lt;/sup&gt;*2&lt;sup&gt;2&lt;/sup&gt;+1=13. Cambiando las
instrucciones en un buscador de hoja de cálculo tendríamos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;a = valuacion(i - 1, 2)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;c = potencia(2, a)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;b
= (i - 1) / c&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;If
b = Int(b + 0.00001) And b &amp;lt; c And i = b * c + 1 And esprimo(i) Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Resultado:&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;line-height: 120%; mso-ansi-language: EN-GB; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Imagen_x0020_14&quot; o:spid=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot; style=&#39;width:246.5pt;
 height:169pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img border=&quot;0&quot; height=&quot;274&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgk2U_jz6Vxy0l6cvx4flbh-bkRDoS50bWaDfI_ODXbPKA4_xxaXng_HrHtIf2E5Q_tHrYlzGd_NSUoH94y-3P-JpPVFplY2LC6KHAf7h8ojWVxPq7eaPTamvr063Qyt2fUt_ssMlJIs_u_7eR6IehWau5AQOBs6a2jZ-MjL2EDadMaeydsQBC4ffIYxrE=w400-h274&quot; v:shapes=&quot;Imagen_x0020_14&quot; width=&quot;400&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;line-height: 120%; mso-ansi-language: EN-GB;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Serán
también primos de Pierpoint aquellos en los que K sea potencia de 3 (incluido
el 1).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;Están
publicados en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A080076&quot;&gt;&lt;span color=&quot;windowtext&quot; face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;https://oeis.org/A080076&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;Es
muy fácil encontrar sus propiedades.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;Primos
de Pierpoint de segunda clase&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;Podemos
cambiar la definición de los primos de Pierpoint caracterizándolos como &lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;2&lt;i&gt;&lt;sup&gt;u&lt;/sup&gt;&lt;/i&gt;3&lt;i&gt;&lt;sup&gt;v&lt;/sup&gt;&lt;/i&gt;&amp;nbsp;−
1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;La
caracterización de estos números pasaría por usar la valuación respecto a 2 o a
3 del número &lt;b&gt;p+1&lt;/b&gt; en lugar de &lt;b&gt;p-1&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;Como ya
están publicados en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A005105&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;https://oeis.org/A005105&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;, es trabajo
inútil volver a repetir cálculos ya conocidos. Los primeros son:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;color: #202122; font-family: inherit; line-height: 120%; mso-ansi-language: EN-GB; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;2, 3, 5, 7, 11,
17, 23, 31, 47, 53, 71, 107, 127, 191, 383, 431, 647, 863, 971, 1151, 2591,
4373, 6143, 6911, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; line-height: 120%; mso-color-alt: windowtext;&quot;&gt;En este
listado, los elementos con v distinto de cero, serán del tipo 6k-1. Si v=0, no
es aquí necesario que &lt;b&gt;u&lt;/b&gt; sea potencia de 2, y así , podemos encontrar
entre ellos &lt;b&gt;primos de Mersenne&lt;/b&gt;, del tipo 2&lt;sup&gt;k&lt;/sup&gt;-1 con k primo. En
el listado podemos identificar 3, 7, 31 y 127.&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; line-height: 120%; mso-color-alt: windowtext;&quot;&gt;Se podría
pensar aquí también en los números del tipo 6&lt;sup&gt;n&lt;/sup&gt;-1, pero son todos
múltiplos de 5, lo que nos lleva a que &lt;b&gt;u&lt;/b&gt; ha de ser distinto de &lt;b&gt;v&lt;/b&gt;.&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/4906534049458939130/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/4906534049458939130' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/4906534049458939130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/4906534049458939130'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/04/numeros-primos-de-pierpont-y-sus.html' title='Números primos de Pierpont y sus relacionados'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEiS03eDpHiZqsr53sKog2IWeC7q1WVoxhtrM3vgqG9N1_w0K3FINfsJXSI7Ear6DipIKqpSeAoyXKmR-glghq-Xo3m-QyqR1UpSK_v0mdvxNAXyMTMkFJFXKrl3udYic3Mo45nWZ5qMKPfpb8Z6JcEvcW4K0YTKrZ64BcIbEBCSXf_0Z0W8ZhXLEDG9_Co=s72-w400-h147-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-1216986227938908639</id><published>2026-04-07T12:00:00.001+02:00</published><updated>2026-04-07T12:00:00.120+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Aritmética"/><category scheme="http://www.blogger.com/atom/ns#" term="Búsquedas"/><category scheme="http://www.blogger.com/atom/ns#" term="Soluciones"/><title type='text'>Solución única</title><content type='html'>&lt;p&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En
mis cálculos diarios y búsquedas en este blog no ha sido frecuente encontrar
solución única a algunas de las cuestiones. En general, aparecen varias o
ninguna, pero pocas veces una sola solución. Un ejemplo que busco a diario es
el de descomponer un número como suma de un primo y un cuadrado distinto de
cero. Normalmente aparecen tantas soluciones que no caben en pantalla, y sólo
en contados casos, obtengo tres o cuatro nada más. Son números de cuatro a seis
cifras, y era esperable esa cantidad. Sin embargo, con números menores se
obtienen frecuentemente soluciones únicas.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;br /&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Suma
de cuadrado y primo&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Estos
son algunos ejemplos de solución única con cuadrados y primos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;19=4^2+3,
22=3^2+13, 24=1^2+23, 26=3^2+17, 29=4^2+13, 36=5^2+11&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;¿Hasta
dónde llegará esa posibilidad? Lo iré viendo en algunos casos. Normalmente van
escaseando las soluciones de una búsqueda, y. a veces, los autores terminan con
una conjetura: “Para números mayores que 10^17 no se observan soluciones…”. Se
queda ahí la cuestión hasta que alguien pueda demostrarlo. Eso haré en esta
entrada si es necesario.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;He
comenzado con hoja de cálculo, y hasta el 70000 aparecen soluciones únicas con
una frecuencia mínima, pero apreciable. Estos son los casos entre 50000 y
70000:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD8-TkCGNz863Bny4Nmm1G7lyLqa_-UPxECidP-tIRyf4fR3zBItS0_bZtAowkVAzHgufrdVJq-SQzPGv4O0Z_uOgBpglc60ThdEnh5GrtjpdsYo29QQFc8JitlN22iVY2nO0BBveDgSaTBsC_5XYdDcEi2qUeO_wLIFV1-HYXQFSQHQaO9Q4sYg-RF64/s272/solo1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;272&quot; data-original-width=&quot;269&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD8-TkCGNz863Bny4Nmm1G7lyLqa_-UPxECidP-tIRyf4fR3zBItS0_bZtAowkVAzHgufrdVJq-SQzPGv4O0Z_uOgBpglc60ThdEnh5GrtjpdsYo29QQFc8JitlN22iVY2nO0BBveDgSaTBsC_5XYdDcEi2qUeO_wLIFV1-HYXQFSQHQaO9Q4sYg-RF64/s16000/solo1.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape alt=&quot;Tabla, Excel

El contenido generado por IA puede ser incorrecto.&quot; id=&quot;_x0000_i1030&quot; style=&quot;height: 203.5pt; mso-wrap-style: square; visibility: visible; width: 202pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;Tabla, Excel

El contenido generado por IA puede ser incorrecto&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;A
partir de aquí, deberé ensayar con PARI, que, como ya es sabido, maneja mejor los
números grandes. &lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;He construido este
código:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;primomascuad(n)=my(s=List(),m=0,r=sqrt(n),p);for(i=1,r,p=n-i^2;if(isprime(p),m+=1;listput(s,i);listput(s,p)));s&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;for(i=50000,70000,s=primomascuad(i);if(#s==2,print(i,&quot;,
&quot;,s)))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;La
primera parte imita una función antigua que poseo para hoja de cálculo. Recorre
todos los cuadrados menores que el número y busca aquellas diferencias que sean
número primo. Las que lo son se incorporan a una lista, formada por cada base
de cuadrado y cada primo. En la última línea, la igualdad &lt;b&gt;&lt;i&gt;#s==2&lt;/i&gt;&lt;/b&gt;,
admite sólo aquellas listas con una sola solución (dos números). En el rango
50000 a 70000 coincide con VBASIC, en otro formato de presentación:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigKgoc01A8mdx_ooQd-xX9P9vITzrMBr7SPsyt_kk3V3ty0k8xVrz81Fwc65eJ3qK-4yAx6t726WRbN4kqVBAEHYaMAIKYKx1gtxLTeqKfjlSa0eehII-jiw-LY_GZX1DokR7YrqjMVnbAqtIfWg62-8zsI38XT2jAmRovkz7O7HzNQ7FXjxd5_C18As0/s233/solo2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;233&quot; data-original-width=&quot;207&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigKgoc01A8mdx_ooQd-xX9P9vITzrMBr7SPsyt_kk3V3ty0k8xVrz81Fwc65eJ3qK-4yAx6t726WRbN4kqVBAEHYaMAIKYKx1gtxLTeqKfjlSa0eehII-jiw-LY_GZX1DokR7YrqjMVnbAqtIfWg62-8zsI38XT2jAmRovkz7O7HzNQ7FXjxd5_C18As0/s16000/solo2.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;v:shape alt=&quot;Texto

El contenido generado por IA puede ser incorrecto.&quot; id=&quot;_x0000_i1029&quot; style=&quot;height: 175pt; mso-wrap-style: square; visibility: visible; width: 155pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata cropbottom=&quot;790f&quot; cropleft=&quot;1180f&quot; o:title=&quot;Texto

El contenido generado por IA puede ser incorrecto&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Es
de esperar que en rangos mayores vayan escaseando las soluciones, pero me ha
sorprendido que no parecen desaparecer.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Del
10000 al 20000 aparecen 28, y llama la atención 10000=99&lt;sup&gt;2&lt;/sup&gt;+199.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En
los siguientes rangos del mismo tamaño van disminuyendo las frecuencias a 9,
12, 9, 7, 6, 5, 6, 7, 6, 4, 3, 3, 5, 2, 4, 3, 4, 4, … hasta llegar al 200000-210000
en el que aparecen 2.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Estoy
acostumbrado a estos resultados, similares a los de los “sucesos raros” en
Estadística, y puede ocurrir que lleguemos a intervalos con ningún resultado.
Por ejemplo, en el rango 2000000-2100000, que es diez veces más amplio,
obtenemos 9. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si
alguien tiene más paciencia que yo, es posible que llegue a una potencia de 10
en la que ya no aparezcan casos. Siempre será una conjetura lo que descubra.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Suma
de cuadrado y capicúa&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;También
esta búsqueda la emprendo casi a diario. Suele proporcionarme de dos a cuatro
soluciones, y sería interesante encontrar números con solución única. Basta
leer mi entrada &lt;/span&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2017/10/suma-de-cuadrado-y-capicua.html&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://hojaynumeros.blogspot.com/2017/10/suma-de-cuadrado-y-capicua.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt; para
entender que deberemos fijar en 1 el número de soluciones. En la tabla que he
elaborado he suprimido los capicúas de una sola cifra, porque restan interés a
la búsqueda, por su abundancia. Contiene los primeros números con esta
propiedad a partir del 2000:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;v:shape alt=&quot;Tabla

El contenido generado por IA puede ser incorrecto.&quot; id=&quot;_x0000_i1028&quot; style=&quot;height: 182.5pt; mso-wrap-style: square; visibility: visible; width: 211.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;Tabla

El contenido generado por IA puede ser incorrecto&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo6A_mc7AebpjaOhxKD4wzGrzeUzniOmALuXJlyi2AJIf5ksO0wBdHWdJ1A4duTtEUucmI1G1qgdRAz612Tzaty84bZ9pBlyByZ0-yRH-tKodbXEglV2Ge56NCor9iTYOWbp3Yvg4J5G6pQ9Lch9r6Qlve-V-ZlCm8d3dQrr-zF9YvuHbhNoTUIRXbVgU/s282/solo3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;243&quot; data-original-width=&quot;282&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo6A_mc7AebpjaOhxKD4wzGrzeUzniOmALuXJlyi2AJIf5ksO0wBdHWdJ1A4duTtEUucmI1G1qgdRAz612Tzaty84bZ9pBlyByZ0-yRH-tKodbXEglV2Ge56NCor9iTYOWbp3Yvg4J5G6pQ9Lch9r6Qlve-V-ZlCm8d3dQrr-zF9YvuHbhNoTUIRXbVgU/s16000/solo3.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;b style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Suma
de dos simétricos&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;Este
es un ejemplo similar a los anteriores, en el que no hay una teoría que nos
respalde, y es inevitable acudir a la búsqueda. En este blog hemos usado la
función CIFRAINVER, que devuelve el simétrico de un número (ver, por ejemplo, &lt;/span&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2022/04/relaciones-entre-numeros-con-cifras.html&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://hojaynumeros.blogspot.com/2022/04/relaciones-entre-numeros-con-cifras.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Para
que la búsqueda no esté contaminada por ejemplos triviales, se exigirá que el
número no sea múltiplo de 10, para evitar que el simétrico pierda una cifra.
También deberá ser el primer sumando mayor que el segundo, y así evitar que una
suma aparezca dos veces. Son condiciones que no son necesarias, pero pulen un
poco los resultados.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Usaré
esta función:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Function dossimetricos$(n)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim i, m&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim s$&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;s = &quot;&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;m = 0 ‘&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;Contenedor &lt;b&gt;&lt;i&gt;s &lt;/i&gt;&lt;/b&gt;y
contador&lt;b&gt;&lt;i&gt; m&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;For i = 1 To n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;p = cifrainver(i)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;If i + p = n And i
&amp;gt; p And i Mod 10 &amp;lt;&amp;gt; 0 Then m = m + 1: s = s + &quot; = &quot; +
ajusta(i) + &quot;+&quot; + ajusta(cifrainver(i)) &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;‘Hay solución&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Next i&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If s =
&quot;&quot; Then s = &quot;NO&quot; Else s = ajusta(m) + &quot;: &quot; + s&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;dossimetricos = s&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Al comenzar la salida de la función con el número de
soluciones, es fácil identificar los números que poseen una. Para mi uso diario
basta con este código, pero en esta búsqueda, para que sea interesante,
desecharé las soluciones en las que ambos sumandos simétricos sean iguales.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Los primeros que aparecen con estas condiciones son:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;v:shape alt=&quot;Interfaz de usuario gráfica, Tabla, Excel

El contenido generado por IA puede ser incorrecto.&quot; id=&quot;_x0000_i1027&quot; style=&quot;height: 235pt; mso-wrap-style: square; visibility: visible; width: 190pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;Interfaz de usuario gráfica, Tabla, Excel

El contenido generado por IA puede ser incorrecto&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbB0fxpj2LvlsArQlmjP5kxkZPcPfd4S39K-K-ONMfw1iMFjvutjW_UYrmuldqDiGesCUZFckiPpg01Y6D_j2a8J3McR3wlQ7ro5HAiIcplEpqpC6E3ShWenAvSX-osns2BIBdpHnkQjeC1af7bfgFB83FZq8eutF2YE_iixhfjukArhz-JspAdfDxx-8/s313/solo4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;313&quot; data-original-width=&quot;253&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbB0fxpj2LvlsArQlmjP5kxkZPcPfd4S39K-K-ONMfw1iMFjvutjW_UYrmuldqDiGesCUZFckiPpg01Y6D_j2a8J3McR3wlQ7ro5HAiIcplEpqpC6E3ShWenAvSX-osns2BIBdpHnkQjeC1af7bfgFB83FZq8eutF2YE_iixhfjukArhz-JspAdfDxx-8/s16000/solo4.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Observamos
que presentan una frecuencia apreciable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;Resultados
ciertos&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En
los anteriores ejemplos, la aparición de números con una sola descomposición se
dejó en simple posibilidad para rangos de un número grande en adelante. En
otros ejemplos se tiene la certeza de los números que presentan un solo
resultado. Repaso brevemente algunos estudiados en este blog.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;color: #0c343d; font-family: inherit;&quot;&gt;Primos
del tipo 4k+1&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;Son
los llamados también primos pitagóricos. Se estudiaron aquí (ver &lt;/span&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2025/11/primos-pitagoricos.html&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://hojaynumeros.blogspot.com/2025/11/primos-pitagoricos.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;) y se
explicó que sólo admiten una descomposición en una suma de cuadrados. Por
ejemplo, 12037 es primo de este tipo, y sólo admite la descomposición 12037=74&lt;sup&gt;2&lt;/sup&gt;+81&lt;sup&gt;2&lt;o:p&gt;&lt;/o:p&gt;&lt;/sup&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;color: #0c343d; font-family: inherit;&quot;&gt;Una
sola ocasión de ser hipotenusa&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;Estudiamos
este tema en la entrada &lt;/span&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2025/10/en-cuantas-ternas-pitagoricas-1.html&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://hojaynumeros.blogspot.com/2025/10/en-cuantas-ternas-pitagoricas-1.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Según
lo visto en ella, los números que contengan un solo factor primo del tipo 4k+1
y el resto (salvo el 2, que no influye) elevados a una potencia par, son los
únicos que podrán ser hipotenusas en una terna pitagórica. Como en la terna
figura al cuadrado, la condición de exponente par no influye. Así nos queda
como condición que exista solo un factor del tipo 4k+1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En la
tabla siguiente figuran soluciones a partir de 1200 y se puede comprobar que solo
presentan un factor del tipo 4k+1 elevado a 1:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyOAA8Tr4WRGygfQylW0Mly5wCiGD1cSHGyUyuSNEJFgmfH-T__B_FZ5PvLAV00uSibT73IOe6HWTcDgvJavuV_ZIsfMcRBvLFxlGCTzTlPBHz08MSdoUn_F9Z9zwCQZ8QCaDNdpljudGnBSIqZtLpl6mrz_z02ARVzKGSTrCvPdKmrXPe4On996PMxpw/s329/solo5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;278&quot; data-original-width=&quot;329&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyOAA8Tr4WRGygfQylW0Mly5wCiGD1cSHGyUyuSNEJFgmfH-T__B_FZ5PvLAV00uSibT73IOe6HWTcDgvJavuV_ZIsfMcRBvLFxlGCTzTlPBHz08MSdoUn_F9Z9zwCQZ8QCaDNdpljudGnBSIqZtLpl6mrz_z02ARVzKGSTrCvPdKmrXPe4On996PMxpw/s16000/solo5.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;v:shape alt=&quot;Tabla

El contenido generado por IA puede ser incorrecto.&quot; id=&quot;Imagen_x0020_1&quot; o:spid=&quot;_x0000_i1026&quot; style=&quot;height: 208.5pt; mso-wrap-style: square; visibility: visible; width: 247pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;Tabla

El contenido generado por IA puede ser incorrecto&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #0c343d; font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;Una
sola ocasión de ser cateto&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Esta
cuestión también puede producir resultados seguros, sin conjeturas para números
grandes. Puedes leer mis entradas &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2025/10/en-cuantas-ternas-pitagoricas-2.html&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://hojaynumeros.blogspot.com/2025/10/en-cuantas-ternas-pitagoricas-2.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2017/01/numero-de-descomposiciones-en.html&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://hojaynumeros.blogspot.com/2017/01/numero-de-descomposiciones-en.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En
ellas se explica que todo depende de las formas de descomponer N&lt;sup&gt;2&lt;/sup&gt; en
productos de la misma paridad. Remito a ellas. Un caso particular es el de los
primos impares. En la tabla siguiente observamos las soluciones en el mismo
rango del párrafo anterior:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;v:shape alt=&quot;Tabla

El contenido generado por IA puede ser incorrecto.&quot; id=&quot;Imagen_x0020_2&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 197.5pt; mso-wrap-style: square; visibility: visible; width: 285.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;Tabla

El contenido generado por IA puede ser incorrecto&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Resultan
primos y semiprimos con el factor 2, pero lo que nos interesa es que existe un
procedimiento seguro. Siempre es preferible a la necesidad de acudir a una
búsqueda.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/1216986227938908639/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/1216986227938908639' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/1216986227938908639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/1216986227938908639'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/04/solucion-unica.html' title='Solución única'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD8-TkCGNz863Bny4Nmm1G7lyLqa_-UPxECidP-tIRyf4fR3zBItS0_bZtAowkVAzHgufrdVJq-SQzPGv4O0Z_uOgBpglc60ThdEnh5GrtjpdsYo29QQFc8JitlN22iVY2nO0BBveDgSaTBsC_5XYdDcEi2qUeO_wLIFV1-HYXQFSQHQaO9Q4sYg-RF64/s72-c/solo1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-4886471490993475632</id><published>2026-03-12T14:30:00.001+01:00</published><updated>2026-03-12T14:30:00.136+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Aritmética"/><category scheme="http://www.blogger.com/atom/ns#" term="Sumas de cuadrados"/><category scheme="http://www.blogger.com/atom/ns#" term="Teoría"/><title type='text'>Números que son promedio de dos cuadrados</title><content type='html'>&lt;p&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Hace años que vengo publicando
estudios y búsquedas en las que es necesario descomponer un número en dos
cuadrados. Desde Fermat conocemos la condición de que un número primo deba ser para
ello del tipo 4k+1, ya que los contrarios, de forma 4k+3 no admiten esta
descomposición.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Gauss estudió el tema y aportó
una fórmula para conocer en cuántas sumas de cuadrados se descompondría un
número concreto, y que resultó depender del número de factores primos de un
tipo y otro que figuraran en la descomposición.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Puedes consultar esa fórmula,
por ejemplo, en &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2024/03/potencias-equidistantes-de-cuadrados.html&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;https://hojaynumeros.blogspot.com/2024/03/potencias-equidistantes-de-cuadrados.html&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;En ella el factor 2 en un
número no influye en el número de descomposiciones esperadas, sino de los tipos
4k+1 y 4k+3 presentes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Lo que explico en el párrafo
anterior nos hace ver que si N se descompone en dos cuadrados, también lo hará
2N, ya que la presencia del 2 no influye en el resultado. Por ejemplo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;850=2*5&lt;sup&gt;2&lt;/sup&gt;*17=3&lt;sup&gt;2&lt;/sup&gt;+29&lt;sup&gt;2&lt;/sup&gt;=11&lt;sup&gt;2&lt;/sup&gt;+27&lt;sup&gt;2&lt;/sup&gt;=15&lt;sup&gt;2&lt;/sup&gt;+25&lt;sup&gt;2&lt;/sup&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Si lo multiplicamos por 2,
deberían aparecer también tres sumas de cuadrados, y así es:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;1700=2&lt;sup&gt;2&lt;/sup&gt;*5&lt;sup&gt;2&lt;/sup&gt;*17=10&lt;sup&gt;2&lt;/sup&gt;+40&lt;sup&gt;2&lt;/sup&gt;=16&lt;sup&gt;2&lt;/sup&gt;+38&lt;sup&gt;2&lt;/sup&gt;=26&lt;sup&gt;2&lt;/sup&gt;+32&lt;sup&gt;2&lt;/sup&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Si ahora divido las igualdades
correspondientes a 2N entre 2, resultarán las formas de expresar N en promedios
de dos cuadrados:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;850=(10&lt;sup&gt;2&lt;/sup&gt;+40&lt;sup&gt;2&lt;/sup&gt;)/2=(16&lt;sup&gt;2&lt;/sup&gt;+38&lt;sup&gt;2&lt;/sup&gt;)/2=(26&lt;sup&gt;2&lt;/sup&gt;+32&lt;sup&gt;2&lt;/sup&gt;)/2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;En realidad, estamos ante una
situación algebraica, ya que si N=a&lt;sup&gt;2&lt;/sup&gt;+b&lt;sup&gt;2&lt;/sup&gt;, se tendrá que (a+b)&lt;sup&gt;2&lt;/sup&gt;+(a-b)&lt;sup&gt;2&lt;/sup&gt;=2(a&lt;sup&gt;2&lt;/sup&gt;+b&lt;sup&gt;2&lt;/sup&gt;)=2N&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;En efecto: 13+25=40, 25-15=10,
que son las primeras soluciones para el promedio, 27-11=16 y 27+11=38, las
segundas, y, por último, 29-3=26, 29+3=32.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Estos razonamientos sugieren
que basta descomponer 2N en dos cuadrados para que aparezca una solución de
promedios para N y que el número de soluciones será el mismo. No es difícil
encontrar una función que realice este trabajo. Otra orientación es la de
buscar todos los cuadrados C menores que N y ver si N+C es cuadrado. No se
tienen en cuenta los promedios en los que los dos sumandos son iguales, lo que
se considera solución trivial.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Como aquí se trata de
comprender y practicar, copio las dos posibilidades:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Buscar si N+C es cuadrado:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;Function
entredos$(n)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;Dim i, r, a, b, m&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;Dim s$&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;s = &quot;&quot; &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;&#39;La
solución se expresa como texto&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;m = 0 ‘&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;Contador de soluciones&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;r = Int(Sqr(n)) &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;&#39;Primer
valor a ensayar&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;i = r - 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;While i &amp;gt; 0&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;&#39;Descendemos valores de cuadrados&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;b = n - i ^ 2 &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;&#39;Diferencia
entre potencia y cuadrado&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;a = n + b &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;&#39;A la
potencia le sumamos la diferencia&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;If escuad(a) Then m = m + 1: b = Sqr(a): s = s
+ &quot; = (&quot; + ajusta(i) + &quot;^2+&quot; + ajusta(b) +
&quot;^2)/2&quot; &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;‘Si es cuadrado, hay una solución nueva&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;i = i - 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;Wend&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;If s =
&quot;&quot; Then s = &quot;NO&quot; Else s = ajusta(m) + &quot; : &quot; + s&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;entredos = s &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;&#39;Si no
hay solución, la respuesta es “NO”&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;End Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Descomponer 2N en suma de dos
cuadrados&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;Public Function
entredos2(n) As String&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;Dim x, p, m, c&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;Dim s$&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;s$ = &quot;&quot;: m = 0’ &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;Contenedor
y contador&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;For x = 1 To Sqr(2
* n - 1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;c = x * x ‘&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;Primer
cuadrado para 2N&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;p = 2 * n – c ‘&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;Posible
segundo cuadrado&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;If escuad(p) And p
&amp;lt;= c Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;s$ = s$ + &quot;=(&quot; + ajusta$(x) +
&quot;^2+&quot; + ajusta$(Sqr(p)) + &quot;^2)/2&quot;: m = m + 1 ‘&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;Hay
solución y avanza el contador&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;End If&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;Next x&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;If s$ =
&quot;&quot; Then s$ = &quot;NO&quot; Else s$ = ajusta(m) + &quot;::&quot; + s$&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;entredos2 = s$ ‘&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;Presentación
de resultados&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;End Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;En la siguiente tabla se puede
observar la concordancia entre los dos métodos, en un rango elegido al azar:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXYUmoxKcEmLQnNLjr6TirrsAp79Wglah1nL3EageQIgAnRSPxk5Ag6yL-rkiKvYt5g23IxtmpH_Ae8cK4jMJvuwxrcA2VXe28MpNJnrTsTA_i9jfuNWpf50BQ0oGN8r94AO8IQA0DRrbuGbGVShu2kOgJh-N3-qzLBFSrnMW6_oSWP18hOOs12n-0q00/s457/prom1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;163&quot; data-original-width=&quot;457&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXYUmoxKcEmLQnNLjr6TirrsAp79Wglah1nL3EageQIgAnRSPxk5Ag6yL-rkiKvYt5g23IxtmpH_Ae8cK4jMJvuwxrcA2VXe28MpNJnrTsTA_i9jfuNWpf50BQ0oGN8r94AO8IQA0DRrbuGbGVShu2kOgJh-N3-qzLBFSrnMW6_oSWP18hOOs12n-0q00/s16000/prom1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;Evidentemente, faltan aquellos
números que no admiten descomposición, por contener factores primos del tipo
4k+3 elevado a exponente impar. Son ejemplos 135=3&lt;/span&gt;&lt;sup style=&quot;font-family: inherit; text-align: justify;&quot;&gt;3&lt;/sup&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;*5, 151, primo
tipo 4k+3, o 144=2&lt;/span&gt;&lt;sup style=&quot;font-family: inherit; text-align: justify;&quot;&gt;4&lt;/sup&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;*3&lt;/span&gt;&lt;sup style=&quot;font-family: inherit; text-align: justify;&quot;&gt;2&lt;/sup&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;, en el que, al ser cuadrado
presentaría la solución trivial&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&amp;nbsp;(12&lt;/span&gt;&lt;sup style=&quot;font-family: inherit; text-align: justify;&quot;&gt;2&lt;/sup&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;+12&lt;/span&gt;&lt;sup style=&quot;font-family: inherit; text-align: justify;&quot;&gt;2&lt;/sup&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;)/2.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Los primeros números que
admiten ser iguales a un promedio de cuadrados son:&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;5, 10, 13, 17, 20, 25, 26, 29,
34, 37, 40, 41, 45, 50, 52, 53, 58, 61, 65, 68, 73, 74, 80, 82, 85, 89, 90, 97,
100, 101, 104, 106, 109, 113, 116, 117, 122, 125, 130, 136, 137, 145, 146, 148,
149, 153, 157, 160, 164, 169, 170, 173, 178, 180, 181, 185, 193, 194, 197, 200,
…&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Con otra definición equivalente están publicados en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A004431&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;https://oeis.org/A004431&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;, y en
un comentario aparece el promedio de dos cuadrados. Son interesantes los
comentarios y alguna programación en PARI.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: #660000; font-family: inherit; line-height: 115%;&quot;&gt;Diferencias prefijadas&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Las diferencias entre las
bases de los cuadrados que sean solución, han de ser pares, para que su suma
sea par, ya que su resultado es 2N. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Podemos seleccionar entre las
soluciones aquellas que posean una diferencia determinada, a la que llamaremos
2D por ser par. Conociendo ese dato, es fácil dar un criterio para saber si N
admite ser promedio de dos cuadrados cuyas bases se diferencien en 2D.
Comenzaríamos así:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Sería k&lt;sup&gt;2&lt;/sup&gt;+(k+2d)&lt;sup&gt;2&lt;/sup&gt;=2N&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;2k&lt;sup&gt;2&lt;/sup&gt;+4dk+4d&lt;sup&gt;2&lt;/sup&gt;=2N&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;k&lt;sup&gt;2&lt;/sup&gt;+2dk+2d&lt;sup&gt;2&lt;/sup&gt;=N, es decir, la ecuación
de segundo grado en k:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;k&lt;sup&gt;2&lt;/sup&gt;+2dk+(2d&lt;sup&gt;2&lt;/sup&gt;-N)=0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;En la página enlazada se sirven de esta fórmula para
definir estos números.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Para que exista solución
entera, el discriminante d&lt;sup&gt;2&lt;/sup&gt;-2d&lt;sup&gt;2&lt;/sup&gt;+N=N-d&lt;sup&gt;2&lt;/sup&gt; deberá
ser cuadrado. Ese sería el criterio.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Un número N admitirá ser
promedio de dos cuadrados diferenciados en 2d si N-d&lt;sup&gt;2 &lt;/sup&gt;es cuadrado&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Por ejemplo, en la tabla se
observa que 130 admite las diferencias 6 y 14, y esto es porque 130-3&lt;sup&gt;2&lt;/sup&gt;=121,
cuadrado de 11, y 130-7&lt;sup&gt;2&lt;/sup&gt;=81, cuadrado de 9. Implemento en un
buscador, con un rango similar y obtengo: 113, 130, 149, 170, 193, …Los números
130 y 149 son los que presentan diferencia 14 en la tabla.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;La expresión N=k&lt;sup&gt;2&lt;/sup&gt;+2dk+2d&lt;sup&gt;2&lt;/sup&gt;
nos permite encontrar las mismas soluciones para números que sean promedio de
dos cuadrados. Basta plantear un doble bucle con &lt;b&gt;k&lt;/b&gt; y &lt;b&gt;d&lt;/b&gt;. Esta es
la versión en PARI:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;for(n=1,10,for(m=1,10,p=n^2+2*m*n+2*m^2;print1(p,&quot;,
&quot;)))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Si la ejecuto en la página
oficial de PARI/GP obtengo la solución &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;5, 13, 25, 41, 61, 85, 113,
145, 181, 221, 10, 20, 34, 52, 74, 100, 130, 164, 202, 244, 17, 29, 45, 65, 89,
117, 149, 185, 225, 269, 26, 40, 58, 80, 106, 136, 170, 208, 250, 296, 37, 53,
73, 97, 125, 157, 193, 233, 277, 325, 50, 68, 90, 116, 146, 180, 218, 260, 306,
356, 65, 85, 109, 137, 169, 205, 245, 289, 337, 389, 82, 104, 130, 160, 194,
232, 274, 320, 370, 424, 101, 125, 153, 185, 221, 261, 305, 353, 405, 461, 122,
148, 178, 212, 250, 292, 338, 388, 442, 500, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Como era de esperar, aparecen
las soluciones desordenadas. Si las ordeno en una hoja de cálculo, coinciden
con las obtenidas por otros procedimientos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;5, 10, 13, 17, 20, 25, 26, 29,
34, 37, 40, 41, 45, 50, 52, 53, 58, 61, 65, 65, 68, 73, 74, 80, 82, 85, 85, 89,
90, 97, 100, 101, 104, 106, 109, 113, 116, 117, 122, 125, 125, 130, 130, 136, 137,
145, 146, 148, 149, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Se observan dos hechos, como
son la existencia de repetidos, (65 y 85), y también la falta de alguno en el
listado, simplemente porque “tarda más en aparecer”. Por eso, prefiero siempre
algoritmos que devuelvan las soluciones ordenadas.&lt;/span&gt;&lt;o:p style=&quot;font-size: 14pt;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/4886471490993475632/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/4886471490993475632' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/4886471490993475632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/4886471490993475632'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/03/numeros-que-son-promedio-de-dos.html' title='Números que son promedio de dos cuadrados'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXYUmoxKcEmLQnNLjr6TirrsAp79Wglah1nL3EageQIgAnRSPxk5Ag6yL-rkiKvYt5g23IxtmpH_Ae8cK4jMJvuwxrcA2VXe28MpNJnrTsTA_i9jfuNWpf50BQ0oGN8r94AO8IQA0DRrbuGbGVShu2kOgJh-N3-qzLBFSrnMW6_oSWP18hOOs12n-0q00/s72-c/prom1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-2407475831263257165</id><published>2026-02-26T18:00:00.001+01:00</published><updated>2026-02-26T18:00:00.112+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Algoritmos"/><category scheme="http://www.blogger.com/atom/ns#" term="Cifras"/><category scheme="http://www.blogger.com/atom/ns#" term="Curiosidades"/><title type='text'>La suma de potencias de cifras es otra potencia</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;En
este blog se han desarrollado muchas curiosidades similares, y ahora deseo
estudiar en qué números se cumple que una suma de potencias de sus cifras se
convierte en otra potencia. Por ejemplo, en el 34, 3&lt;/span&gt;&lt;sup style=&quot;font-family: inherit; text-align: justify;&quot;&gt;2&lt;/sup&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;+4&lt;/span&gt;&lt;sup style=&quot;font-family: inherit; text-align: justify;&quot;&gt;2&lt;/sup&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;=5&lt;/span&gt;&lt;sup style=&quot;font-family: inherit; text-align: justify;&quot;&gt;2&lt;/sup&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;,
porque es una terna pitagórica, o en 123 se cumple que 1&lt;/span&gt;&lt;sup style=&quot;font-family: inherit; text-align: justify;&quot;&gt;3&lt;/sup&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;+2&lt;/span&gt;&lt;sup style=&quot;font-family: inherit; text-align: justify;&quot;&gt;3&lt;/sup&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;+3&lt;/span&gt;&lt;sup style=&quot;font-family: inherit; text-align: justify;&quot;&gt;3&lt;/sup&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;=6&lt;/span&gt;&lt;sup style=&quot;font-family: inherit; text-align: justify;&quot;&gt;2&lt;/sup&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Para
jugar un poco con esta cuestión necesitamos dos funciones, que son SUMACIFRAS,
que nos sume potencias de cifras, y ESPOTENCIA, que determine si un número es
potencia entera o no. La primera, en su versión completa con exponentes, la
puedes encontrar desarrollada en este blog, por ejemplo, en &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2024/01/un-numero-y-sus-cifras-1-niven.html&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://hojaynumeros.blogspot.com/2024/01/un-numero-y-sus-cifras-1-niven.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Posee
dos parámetros, el número a descomponer en cifras y el exponente.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;La
función ESPOTENCIA admite variantes, pero su última versión es algo complicada
de desarrollar. Está presentada en la entrada &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2025/11/un-numero-como-diferencia-entre.html&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://hojaynumeros.blogspot.com/2025/11/un-numero-como-diferencia-entre.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si
no te apetece entrar en esas explicaciones en VBASIC, con el lenguaje PARI
quedan muy simples:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;sumacifras(n,k)=sum(i=1,
#n=digits(n), n[i]^k)&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;espotencia(n)=ispower(n)&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Función
espotsumcifraspot$(n,tope)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Uniremos
las dos funciones en una sola, para determinar qué números cumplen la propiedad
pedida. Le indicaremos el número y el tope máximo de búsqueda con exponentes,
porque los resultados pueden tener una magnitud tan grande que no sean exactos
en VBASIC. Por cada solución que se obtenga aparecerán también los números
anagramáticos con ella. Por ejemplo, si 115 es solución (1&lt;sup&gt;2&lt;/sup&gt;+1&lt;sup&gt;2&lt;/sup&gt;+5&lt;sup&gt;2&lt;/sup&gt;=3&lt;sup&gt;3&lt;/sup&gt;),
también lo serán 151 y 511.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Public
Function espotsumcifraspot$(n,tope)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim
s, I,e&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim
ss$&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;ss = &quot;&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;For i = 2 To tope &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;‘Se
prueba con varios exponentes de cifras&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;s = sumacifras(n, i)&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;’Sumacifras
con un exponente&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;e=&lt;b&gt;&lt;i&gt; espotencia(s)&lt;/i&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If
e &amp;gt; 1 Then ss = ss + &quot; E1: &quot; + Str$(i)+ “ E2: “+str$(e)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;‘Si la suma es potencia, tenemos solución
nueva, E1 exponente de las cifras y E2 el de la suma&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Next
i&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If
ss = &quot;&quot; Then ss = &quot;NO&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;espotsumcifraspot = ss&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Hay que advertir que el valor de E2 no es
único, porque, por ejemplo, el número 64 es cuadrado, cubo y sexta potencia. La
función te da un valor, para afirmar que es potencia, pero no tiene que coincidir
con el esperado.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Otra advertencia es que la existencia de
cifras nulas puede también producir resultados no esperados. Si se quiere
matizar más se puede añadir la condición de que no existan ceros en su
representación en base 10. Esta sencilla función devuelve VERDADERO si no
existen cifras nulas:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Function
sinceros(n) As Boolean&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim
h, i, m&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim
sin As Boolean&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;h
= n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;sin
= True&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;While
h &amp;gt; 9 And sin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;i
= Int(h / 10)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;m
= h - i * 10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If
m = 0 Then sin = False&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;h
= i&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Wend&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If
h = 0 Then sinceros = False Else sinceros = sin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Es optativo añadirle esa condición al
principio de la función. Con la función PRODUCIFRAS basta con exigir que el
producto no sea nulo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;La puedes encontrar en &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2018/09/permutacion-de-cifras-al-sumar-su.html&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://hojaynumeros.blogspot.com/2018/09/permutacion-de-cifras-al-sumar-su.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Así lo haremos en PARI: &lt;b&gt;&lt;i&gt;sinceros(n)=vecprod(digits(n))&amp;lt;&amp;gt;0&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Números con la propiedad
esperada&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con la advertencia de que puede faltar
alguno por la existencia de un tope, la siguiente tabla contiene los primeros
números sin cifras nulas que cumplen la propiedad. Llaman la atención los
resultados de 22, 44 y 88, que no caben en la imagen (algo fácil de razonar con
potencias de 2), y el hecho ya explicado, de que aparecerán como solución todos
los números anagramáticos con la primera, como 21 con 12 o 132 con 123.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHr40bL4oGMQf_hMT4jmExe7BtaMg5s4nENRB9MoDKo4QnMO6Itdjld5g5CTnhoyMjyXdxFUP2jKEfmpdzP50Ux4nNwsbwgXDSqplP6iPal29kjGCzdh3oy_UK06DAPw0KEfBoLlWNuZViT2OSuzd_9iUH_XW-BJDhG8uHpW5bEKbNWqeAhQRXF3xTvkc/s295/sumpot1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;289&quot; data-original-width=&quot;295&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHr40bL4oGMQf_hMT4jmExe7BtaMg5s4nENRB9MoDKo4QnMO6Itdjld5g5CTnhoyMjyXdxFUP2jKEfmpdzP50Ux4nNwsbwgXDSqplP6iPal29kjGCzdh3oy_UK06DAPw0KEfBoLlWNuZViT2OSuzd_9iUH_XW-BJDhG8uHpW5bEKbNWqeAhQRXF3xTvkc/s16000/sumpot1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape alt=&quot;Tabla

El contenido generado por IA puede ser incorrecto.&quot; id=&quot;Imagen_x0020_1&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 217pt; mso-wrap-style: square; visibility: visible; width: 221.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;Tabla

El contenido generado por IA puede ser incorrecto&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;La tabla está confeccionada con tope 10 para los
exponentes, pero si uso el 20 aparecen resultados falsos. Ya se sabe lo que se
debe hacer: pasar a PARI. Se puede usar este código:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: left;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;sumacifras(n,k)=sum(i=1,
#n=digits(n), n[i]^k)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: left;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;producifras(n)=vecprod(digits(n))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: left;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;espotsumcifraspot(n,tope)=my(ss=List(),i,e,s,p=producifras(n));for(i=2,tope,s=sumacifras(n,
i);e=ispower(s);if(e&amp;gt;1&amp;amp;&amp;amp;p&amp;gt;0,listput(ss,&quot;E1:&quot;);listput(ss,i);listput(ss,&quot;E2:
&quot;);listput(ss,e)));ss&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-top: 0cm; text-align: left;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;for(i=11,135,s=espotsumcifraspot(i,30);if(#s&amp;lt;&amp;gt;0,print1(i,&quot;,
&quot;)))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si aumento el tope a 30 coinciden los
resultados, luego puedo confiar en que estos sean válidos:&lt;br /&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;12, 21, 22, 34, 36, 43, 44, 48, 63, 68, 84, 86, 88, 115,
122, 123, 126, 132, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Aumentando el rango:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;12, 21, 22, 34, 36, 43, 44, 48, 63, 68, 84, 86, 88, 115,
122, 123, 126, 132, 148, 151, 162, 168, 184, 186, 212, 213, 216, 221, 231, 236,
244, 261, 263, 269, 296, 312, 321, 326, 333, 345, 354, 355, 362, 366, 418, 424,
435, 442, 447, 453, 474, 481, 488, 511, 534, 535, 543, 553, 568, 586, 612, 618,
621, 623, 629, 632, 636, 658, 663, 667, 676, 681, 685, 692, 744, 766, 814, 816,
841, 848, 856, 861, 865, 884, 926, 962, 999, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Observamos que presentan una frecuencia
alta de aparición, en parte por la existencia de anagramáticos. Por eso se
puede plantear un filtro según el exponente usado en las cifras. Cambiando la
variable que devuelve la función es posible realizar ese filtro. Para eso he
modificado ligeramente el código. Por ejemplo, con resultado cubo aparecen:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;115, 151, 345, 354, 355, 435, 453, 511,
534, 535, 543, 553, 568, 586, 658, 685, 856, 865, 1134, 1143, 1156, 1165, 1314,
1341, 1413, 1431, 1516, 1561, 1615, 1651, 2234, 2243, 2324, 2342, 2423, 2432,
2667, 2676, 2766, 3114, 3141, 3224, 3242, 3411, 3422, 3468, 3486, 3648, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Por&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;ejemplo, 3648 es solución porque 3&lt;sup&gt;2&lt;/sup&gt;+6&lt;sup&gt;2&lt;/sup&gt;+4&lt;sup&gt;2&lt;/sup&gt;+8&lt;sup&gt;2&lt;/sup&gt;=5&lt;sup&gt;3&lt;/sup&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Los he comprobado con dos procedimientos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;También podemos buscar exponentes de las
cifras. Por ejemplo, buscamos los que sean mayores o iguales que 5, y
conseguimos el listado:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;22, 44, 88, 333, 999, 1111, 1224, 1242,
1339, 1393, 1422, 1933, 2124, 2142, 2214, 2222, 2241, 2412, 2421, 2448, 2484,
2844, 3139, 3193, 3319, 3333, 3391, 3913, 3931, 4122, 4212, 4221, 4248, 4284,
4428, 4444, 4482, 4669, 4696, 4824, 4842, 4966, 5555, 6469, 6496, 6649, 6666,
6694, 6946, 6964, 7777, 8244, 8424, 8442, 8888, 9133, 9313, 9331, 9466, 9646,
9664, 9999, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Nos encontramos con soluciones especiales
por la repetición de cifras. Por ejemplo, 3913: 3&lt;sup&gt;5&lt;/sup&gt;+9&lt;sup&gt;5&lt;/sup&gt;+1&lt;sup&gt;5&lt;/sup&gt;+3&lt;sup&gt;5&lt;/sup&gt;=244&lt;sup&gt;2&lt;o:p&gt;&lt;/o:p&gt;&lt;/sup&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;También podemos fijar qué exponentes
deseamos, siempre que adaptemos el código. Por ejemplo, con exponentes 3 y 3 y con
cifras crecientes tenemos estos dos casos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;345: Es un resultado clásico: 3&lt;sup&gt;3&lt;/sup&gt;+4&lt;sup&gt;3&lt;/sup&gt;+5&lt;sup&gt;3&lt;/sup&gt;=6&lt;sup&gt;3&lt;/sup&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1156: 1&lt;sup&gt;3&lt;/sup&gt;+1&lt;sup&gt;3&lt;/sup&gt;+5&lt;sup&gt;3&lt;/sup&gt;+6&lt;sup&gt;3&lt;/sup&gt;=7&lt;sup&gt;3&lt;o:p&gt;&lt;/o:p&gt;&lt;/sup&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con exponentes con bastante diferencia:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con cifras elevadas a 7, el número 57888 y
sus anagramáticos cumple:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;5&lt;sup&gt;7&lt;/sup&gt;+7&lt;sup&gt;7&lt;/sup&gt;+8&lt;sup&gt;7&lt;/sup&gt;+8&lt;sup&gt;7&lt;/sup&gt;+8&lt;sup&gt;7&lt;/sup&gt;=2682&lt;sup&gt;2&lt;/sup&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Tenemos las herramientas para seguir
investigando, pero vendrían bien unos equipos más potentes para llegar a siete
u ocho cifras.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/2407475831263257165/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/2407475831263257165' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/2407475831263257165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/2407475831263257165'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/02/la-suma-de-potencias-de-cifras-es-otra.html' title='La suma de potencias de cifras es otra potencia'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHr40bL4oGMQf_hMT4jmExe7BtaMg5s4nENRB9MoDKo4QnMO6Itdjld5g5CTnhoyMjyXdxFUP2jKEfmpdzP50Ux4nNwsbwgXDSqplP6iPal29kjGCzdh3oy_UK06DAPw0KEfBoLlWNuZViT2OSuzd_9iUH_XW-BJDhG8uHpW5bEKbNWqeAhQRXF3xTvkc/s72-c/sumpot1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-7175525105375987042</id><published>2026-02-16T15:30:00.001+01:00</published><updated>2026-02-16T15:30:00.112+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Propiedades"/><category scheme="http://www.blogger.com/atom/ns#" term="Sucesiones"/><category scheme="http://www.blogger.com/atom/ns#" term="Teoría"/><title type='text'> Sucesiones completas</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En esta entrada abordaré un tema interesante, y es el de la posibilidad de que los elementos de
una sucesión de números naturales, finita o infinita, generen otros números, a
partir de sumas, con o sin repetición.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Ya traté ese tema en algunas entradas
antiguas, como&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2010/02/frobenius-y-los-mcnuggets.html&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://hojaynumeros.blogspot.com/2010/02/frobenius-y-los-mcnuggets.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;“Frobenius y los mcnuggets”, en la que
trataba el problema de las monedas necesarias para alcanzar una cantidad y el
número de Frobenius.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2012/11/descomposicion-de-un-numero-segun-una.html&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://hojaynumeros.blogspot.com/2012/11/descomposicion-de-un-numero-segun-una.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En esta entrada se trataba de generar un
número a partir de una lista de ellos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En ambos casos las sucesiones eran
finitas, y al sumar los elementos se podían repetir los sumandos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;También se relacionaba algo con lo que
pretendo presentar ahora, la entrada sobre algoritmos voraces o codiciosos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2024/09/algoritmos-codiciosos-para-sumas.html&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;https://hojaynumeros.blogspot.com/2024/09/algoritmos-codiciosos-para-sumas.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Sucesión completa&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Desarrollaré aquí el tipo de sucesión más
eficaz para generar todos los números naturales, el de sucesión completa.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Una sucesión de números naturales se llama
&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;completa&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; cuando cualquier otro número natural se puede escribir como
suma de elementos de esa sucesión sin repetir ninguno.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;El ejemplo básico más popular es el de las
potencias de 2, que da lugar al sistema binario de representación de los
números. En efecto, la sucesión 1, 2, 4, 8, 16, … permite representar cualquier
número como suma de algunos términos, sin repetición. La forma de conseguirlo
es similar a la de los algoritmos codiciosos que traté en la entrada
referenciada más arriba.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Vemos un ejemplo: representar el número
53:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Buscamos el término de la sucesión más
cercano a 53 y menor que él, que es el 32, tomamos nota y restamos: 53-32=21.
Reiteramos: 21-16=5, 5-4=1, con lo que obtenemos 53=32+16+4+1, que da lugar a
la representación binaria 110101.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Este ejemplo nos abre camino para
caracterizar las sucesiones completas. Podemos dar tres condiciones para que
una sucesión sea de este tipo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-top-alt: auto; text-align: justify; text-indent: -18.0pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;·&lt;span style=&quot;font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;El primer término ha de ser 1, a&lt;sub&gt;1&lt;/sub&gt;=1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-top-alt: auto; text-align: justify; text-indent: -18.0pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;·&lt;span style=&quot;font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;Aunque no es imprescindible, pero sí algo
operativo, la sucesión debe presentar un orden creciente.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-top-alt: auto; text-align: justify; text-indent: -18.0pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;·&lt;span style=&quot;font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;Si llamamos s&lt;sub&gt;n&lt;/sub&gt; a la suma de los n
primeros términos de la sucesión, se debe cumplir: s&lt;sub&gt;n-1 &lt;/sub&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;≥
a&lt;sub&gt;n&lt;/sub&gt;-1 para todo n ≥ 1&lt;/span&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;La primera condición es imprescindible
para poder generar todos los números y que los algoritmos tengan parada. Por
ejemplo, los números pares no son completos, pues nunca pueden generar un
impar.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;La segunda se incluye para que tengan
sentido los algoritmos. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;La tercera es fundamental, porque
garantiza que se pueda avanzar en descubrir sumandos hasta llegar, si es
necesario al 1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Seguimos el proceso del 53 visto más
arriba. Dado el número N, deberemos encontrar el mayor elemento de la sucesión
que sea menor que N, en el ejemplo 32. La diferencia 21 se ha de poder tratar
del mismo modo, con lo que s&lt;sub&gt;n-1 &lt;/sub&gt;ha de ser suficiente para ello, es
decir, s&lt;sub&gt;n &lt;/sub&gt;≥ a&lt;sub&gt;n&lt;/sub&gt;-1. Piénsese en el caso 63, en el que
63-32=31, y debe poder ser generado por los elementos anteriores, es decir por
s&lt;sub&gt;n-1&lt;/sub&gt;, y de ahí la condición s&lt;sub&gt;n &lt;/sub&gt;≥ a&lt;sub&gt;n&lt;/sub&gt;-1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si no se cumple esta condición, la
sucesión no es completa. Por ejemplo, la sucesión de potencias de cuatro, 1, 4,
16, 64, …no la cumple, y, por ejemplo, no puede generar el número 70, porque
70-64=6, y 6 no se puede formar con 1 y 4. Aquí la suma 1+4+16 no es
suficiente.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;La sucesión de potencias de 2 la cumple,
porque s&lt;sub&gt;n&lt;/sub&gt;=2&lt;sup&gt;n&lt;/sup&gt;-1, y da lugar a la representación binaria.
Esto se logra porque no se admiten repeticiones en los sumandos. También es
minimal, pues si eliminamos un término de ella, habrá números naturales que no
se puedan representar. Por ejemplo, si elimino el 4, no podré representar el 6.
Otra característica es que la representación es única, algo que no se contempla
en las definiciones.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Existe una condición suficiente que puede
sustituir a la tercera, y es que &lt;b&gt;2a&lt;sub&gt;k&lt;/sub&gt; ≥ a&lt;sub&gt;k+1 &lt;/sub&gt;para k≥1&lt;/b&gt;.
El ejemplo de las potencias de 2 la cumple, pero falta ver su suficiencia. Lo
razonamos con el ejemplo del N=53. La primera operación fue buscar el término
menor que 53 más cercano a él, y fue el 32. Restamos y nos resultó 21 para
proseguir. Lo vemos en general:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;N estará entre a&lt;sub&gt;k&lt;/sub&gt; y a&lt;sub&gt;k+1&lt;/sub&gt;,
pero&lt;sub&gt; &lt;/sub&gt;a&lt;sub&gt;k+1&lt;/sub&gt; estará entre a&lt;sub&gt;k&lt;/sub&gt; y 2a&lt;sub&gt;k&lt;/sub&gt;,
luego tendremos: a&lt;sub&gt;k&lt;/sub&gt; ≤ N ≤ a&lt;sub&gt;k+1 &lt;/sub&gt;≤ 2a&lt;sub&gt;k&lt;/sub&gt;. Restando
a&lt;sub&gt;k&lt;/sub&gt; se verificará:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6pt; text-align: center;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;0 ≤ N - a&lt;sub&gt;k&lt;/sub&gt; ≤ a&lt;sub&gt;k&lt;/sub&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Por tanto, la siguiente diferencia (en el
ejemplo, el 21) será menor que a&lt;sub&gt;k&lt;/sub&gt;, y se podrá seguir el algoritmo
con un término menor, hasta llegar a 1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Ejemplo reciente&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En una entrada anterior vimos la sucesión “catering
perezoso”, formada por los términos de fórmula&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghkLELu61cH6AbdDTXfoXSGMQjqfI4RHhNL_RyMJUtvTbmR5S1j2twLfX5HnS17ALLpDhyphenhyphensmyPzakDQ8mVfU3JRX96Yuj-a2UbmJVp4oEh0FW37kuOdOLUfgr8O215kzXkhVCOp-NtkMRpcmE_tXPIn4PpaNN8PH9GSgovKSyVXPDZXcjk6PYjfkkcIjQ/s374/comple1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;98&quot; data-original-width=&quot;374&quot; height=&quot;52&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghkLELu61cH6AbdDTXfoXSGMQjqfI4RHhNL_RyMJUtvTbmR5S1j2twLfX5HnS17ALLpDhyphenhyphensmyPzakDQ8mVfU3JRX96Yuj-a2UbmJVp4oEh0FW37kuOdOLUfgr8O215kzXkhVCOp-NtkMRpcmE_tXPIn4PpaNN8PH9GSgovKSyVXPDZXcjk6PYjfkkcIjQ/w200-h52/comple1.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;br /&gt;Sus primeros términos son 1,
2, 4, 7, 11, 16, 22, 29, 37, 46, 56, 67, 79, 92, 106, 121, 137, 154, 172, 191,
211, 232, 254, 277, 301, 326, 352, 379, …&lt;/span&gt;&lt;a href=&quot;https://oeis.org/A000124&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: windowtext; line-height: 115%; text-decoration-line: none;&quot;&gt;https://oeis.org/A000124&lt;/span&gt;&lt;/a&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Es evidente que cumple &lt;b&gt;2a&lt;sub&gt;k&lt;/sub&gt;
≥ a&lt;sub&gt;k+1&lt;/sub&gt;&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2a&lt;sub&gt;k&lt;/sub&gt; - a&lt;sub&gt;k+1&lt;/sub&gt;
= 2(k(k+1)/2+1)-(k+1)(k+2)/2-1 = (k+1)(k-(k+2)/2)+1 =(k+1)(k/2-1)+1, y esta
diferencia es positiva o cero para k&amp;gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Podemos afirmar que esta
sucesión es completa, como se afirma en la página en la que está publicada.
Según esto, cualquier número natural es suma de algunos de sus términos tomados
sin repetición. He efectuado sencillas comprobaciones con mi hoja de cálculo &lt;b&gt;&lt;i&gt;partlista&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&amp;nbsp;(Ver &lt;/span&gt;&lt;a href=&quot;https://www.hojamat.es/sindecimales/aritmetica/herramientas/herrarit.htm#reprenum&quot;&gt;&lt;span style=&quot;color: windowtext; line-height: 115%;&quot;&gt;https://www.hojamat.es/sindecimales/aritmetica/herramientas/herrarit.htm#reprenum&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;He elegido el número 62 al azar,
y deseo generarlo con los términos de esta sucesión 1, 2, 4, 7, 11, 16, 22, 29,
37. He concretado en la hoja que no se repitan sumandos, y me ha devuelto estos
resultados:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkCS5Kfk4n3c6bCXCwZS3Yznif656ckqLOBrLqWmMToUKl0mW56r8ENIVvrDn8vv2hSSqBD_GRK5mSm15M9uqGMdGWBNEhO_Et81L-r-Y9hFj7lahcSTAJKgbg-fKb9ja16brz88EYdNBs1Ql_x40dTJOfwzKH_3xNzpJU6fvkPjoAGgARTYiK6ZoT1j0/s135/comple2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;135&quot; data-original-width=&quot;133&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkCS5Kfk4n3c6bCXCwZS3Yznif656ckqLOBrLqWmMToUKl0mW56r8ENIVvrDn8vv2hSSqBD_GRK5mSm15M9uqGMdGWBNEhO_Et81L-r-Y9hFj7lahcSTAJKgbg-fKb9ja16brz88EYdNBs1Ql_x40dTJOfwzKH_3xNzpJU6fvkPjoAGgARTYiK6ZoT1j0/s16000/comple2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;No es de extrañar que resulten
siete soluciones, porque en estos procesos no tiene que existir solución única.&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: inherit;&quot;&gt;Sucesión de Fibonacci&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Esta sucesión es claramente
completa. Basta recordar que es creciente y en ella a&lt;sub&gt;k+1 &lt;/sub&gt;= a&lt;sub&gt;k&lt;/sub&gt;+a&lt;sub&gt;k-1&lt;/sub&gt;,
luego a&lt;sub&gt;k+1 &lt;/sub&gt;&amp;lt; a&lt;sub&gt;k&lt;/sub&gt;+a&lt;sub&gt;k &lt;/sub&gt;= 2a&lt;sub&gt;k&lt;/sub&gt;, que es
condición suficiente para la completitud.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;Existe una descomposición
basada en esta propiedad, y es la de Zeckendorf, que consiste en ir restando a
un número N el mayor número de Fibonacci posible. Es interesante, y acudo a
ella con frecuencia. Puedes profundizar en el tema leyendo mi entrada &lt;/span&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2020/09/representacion-de-zeckendorf.html&quot;&gt;&lt;span style=&quot;color: windowtext; line-height: 115%;&quot;&gt;https://hojaynumeros.blogspot.com/2020/09/representacion-de-zeckendorf.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt; y
descubrir en qué consiste la multiplicación de Fibonacci.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Por ejemplo, esta es la
representación de Zeckendorf del número 75:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;75 = F(10)+F(7)+F(5)+F(3) = 55+13+5+2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;No es el único desarrollo. Con
nuestra herramienta Cartesius (&lt;/span&gt;&lt;a href=&quot;https://www.hojamat.es/sindecimales/combinatoria/herramientas/herrcomb.htm#cartesius&quot;&gt;&lt;span style=&quot;color: windowtext; line-height: 115%;&quot;&gt;https://www.hojamat.es/sindecimales/combinatoria/herramientas/herrcomb.htm#cartesius&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;) se
puede conseguir otro. Estas son las condiciones:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;xrango=5&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;xt=1..55&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;xt=filtro(fibonacci)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;suma=75&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;creciente&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;no repite&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Y este el resultado:&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkPrmcLBuJedJt9GNWqpN9iHqExbE_RdZt1VU8674UlPRgqSSHDAlxVESCyDTsiWDesu3lAg1YATWhyZdMY2lS7uUXOHQ41eawFyZKH0PdO7FBVhgVxEfyDT-ew4KaACVa3Q7LGsKM3VPjtux3yGq7GrsMFrdADw2JGb-V016O4Uv5nK-j-yGsFk0OOEw/s347/comple3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;57&quot; data-original-width=&quot;347&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkPrmcLBuJedJt9GNWqpN9iHqExbE_RdZt1VU8674UlPRgqSSHDAlxVESCyDTsiWDesu3lAg1YATWhyZdMY2lS7uUXOHQ41eawFyZKH0PdO7FBVhgVxEfyDT-ew4KaACVa3Q7LGsKM3VPjtux3yGq7GrsMFrdADw2JGb-V016O4Uv5nK-j-yGsFk0OOEw/s16000/comple3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Nos devuelve el ya conocido,
2+5+13+55, que es el desarrollo minimal, pero nos ofrece otro: 75=34+21+13+5+2&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Números primos con la unidad&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si a la sucesión de números
primos le adjunto a(1) = 1, resulta una sucesión completa. Es creciente,
comienza en 1 y cumple que 2p(k) ≥ p(k+1). Esta afirmación se basa en el Postulado
de Bertrand, que afirma, entre otras formulaciones, esta desigualdad. Por
ejemplo, con la hoja &lt;i&gt;partlista&lt;/i&gt;, podemos generar el número 35 con esta
sucesión, y resulta:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWDyFSA0f9kz3rsIOmibXUow0wzab2IQnIBsitKyH8O5hB_K9Zu1b8rz_PLHwVsk94WAUhBFqD_rPV0mWxTgP3ikFJoq0FH5g2yXZsFnbVYhgqJ3gKlkoqRr__55TPZlRLlMChTEBiRviWTi8BuesUgah2y4tG4ZPOplFHu0gICNb6E4g9AokOqpBBqk0/s333/comple4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;333&quot; data-original-width=&quot;153&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWDyFSA0f9kz3rsIOmibXUow0wzab2IQnIBsitKyH8O5hB_K9Zu1b8rz_PLHwVsk94WAUhBFqD_rPV0mWxTgP3ikFJoq0FH5g2yXZsFnbVYhgqJ3gKlkoqRr__55TPZlRLlMChTEBiRviWTi8BuesUgah2y4tG4ZPOplFHu0gICNb6E4g9AokOqpBBqk0/s16000/comple4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;v:shape alt=&quot;Interfaz de usuario gráfica, Aplicación, Tabla, Excel

El contenido generado por IA puede ser incorrecto.&quot; id=&quot;Imagen_x0020_7&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 250pt; mso-wrap-style: square; visibility: visible; width: 115pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;Interfaz de usuario gráfica, Aplicación, Tabla, Excel

El contenido generado por IA puede ser incorrecto&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Es evidente que esta
descomposición da lugar a muchas soluciones distintas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Se pueden encontrar más ejemplos de
sucesiones completas, pero con estos se comprende bien el concepto. Otros que he
encontrado son demasiado particulares y no son muy interesantes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 120%; margin-bottom: 6.0pt; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 120%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;





































































































































&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/7175525105375987042/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/7175525105375987042' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/7175525105375987042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/7175525105375987042'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/02/sucesiones-completas.html' title=' Sucesiones completas'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghkLELu61cH6AbdDTXfoXSGMQjqfI4RHhNL_RyMJUtvTbmR5S1j2twLfX5HnS17ALLpDhyphenhyphensmyPzakDQ8mVfU3JRX96Yuj-a2UbmJVp4oEh0FW37kuOdOLUfgr8O215kzXkhVCOp-NtkMRpcmE_tXPIn4PpaNN8PH9GSgovKSyVXPDZXcjk6PYjfkkcIjQ/s72-w200-h52-c/comple1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-8565287746555863835</id><published>2026-02-06T16:30:00.003+01:00</published><updated>2026-05-03T16:39:35.289+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Exploraciones"/><category scheme="http://www.blogger.com/atom/ns#" term="Sucesiones"/><category scheme="http://www.blogger.com/atom/ns#" term="Teoría"/><title type='text'>El catering perezoso</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%; text-align: justify;&quot;&gt;El título es libre traducción de la sucesión “Lazy Caterer&#39;s Sequence” publicada en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A000124&quot; style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;https://oeis.org/A000124&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%; text-align: justify;&quot;&gt;con el
título &lt;i&gt;Central polygonal numbers&lt;/i&gt;, que se refiere al máximo número de
porciones que se puede obtener en una tarta si la sometemos a &lt;b&gt;n&lt;/b&gt; cortes.
Su referencia a los números de Hogben, ya tratados en este blog&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;https://hojaynumeros.blogspot.com/2021/11/numeros-de-hogben.html&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;https://hojaynumeros.blogspot.com/2021/11/numeros-de-hogben.html&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;me ha llevado a estudiarla, sólo en los
aspectos que trata normalmente este blog.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Fórmula de la sucesión&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si solo nos interesan los
números máximos de piezas resultantes, deberemos suponer que cada corte posee
intersección con todos los anteriores, evitando paralelismos, por lo que se
cumplirá que &lt;b&gt;c(n+1)=c(n)+n&lt;/b&gt;. Como c(1)=2, ya que el primer corte produce
dos piezas, es fácil ver que la sucesión será: 2, 2+2,2+2+3, 2+2+3+4 ,… pero en
OEIS se considera siempre c(0), que aquí sería 1 (ningún corte), por lo que
resultaría al final 1, 2, 4, 7, 11, 16, …, que es la publicada.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;El hecho de que la suma de los
primeros números naturales sea un número triangular, n(n+1)/2, nos da
directamente la fórmula de estos números:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC9j5fkBuQ0xtZHTIU_KEk_2snQzaZ0ZQwZprUMdf8Ik47RF-Zd2P7oqbY1acWMmFaQCkWp8oO1dKs8Nstn7zPRwG-xRaPlZhk_krDEE4TMtpoZaF5_eDvv4pVm3RQevs_ppn9rJ7IYmTaigzBfuTsEX5ajygDMqjX-HiKW_Mup9ilRbQp78xwtR9Oi08/s253/lazy1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;66&quot; data-original-width=&quot;253&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC9j5fkBuQ0xtZHTIU_KEk_2snQzaZ0ZQwZprUMdf8Ik47RF-Zd2P7oqbY1acWMmFaQCkWp8oO1dKs8Nstn7zPRwG-xRaPlZhk_krDEE4TMtpoZaF5_eDvv4pVm3RQevs_ppn9rJ7IYmTaigzBfuTsEX5ajygDMqjX-HiKW_Mup9ilRbQp78xwtR9Oi08/s16000/lazy1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En la imagen vemos la generación de c(4),
porque de los tres cortes existentes, el cuarto produce 4 nuevos, y el
resultado es 4*5/2+1=11&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTSP7vaYzvJMlwJqJu1YAHjQs7SVeBJzsOeZN7lLBj7hnwknHPvLCjde69yj-nEmkTUSDhjQK0I74sPkUvcH7KfXwx_IrPrlECRpAdxVZCITjzyH076HdtLZ5txkisuglSfz7z_iP00CDdaOFWudcDghWjDq0vl-JbJkW-R3_X5VjUPzahffEVZ789Txg/s155/lazy2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;129&quot; data-original-width=&quot;155&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTSP7vaYzvJMlwJqJu1YAHjQs7SVeBJzsOeZN7lLBj7hnwknHPvLCjde69yj-nEmkTUSDhjQK0I74sPkUvcH7KfXwx_IrPrlECRpAdxVZCITjzyH076HdtLZ5txkisuglSfz7z_iP00CDdaOFWudcDghWjDq0vl-JbJkW-R3_X5VjUPzahffEVZ789Txg/s16000/lazy2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si la fórmula de c(n) es n(n+1)/2+1, la
de c(n-1) será, desarrollando (n&lt;/span&gt;&lt;sup style=&quot;font-family: inherit;&quot;&gt;2&lt;/sup&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;-n+2)/2, y podemos identificar el
numerador con un número de Hogben aumentado en una unidad. Esto relaciona las
dos sucesiones, pues si añadimos una unidad a la Hogben y dividimos entre 2 nos
resulta la que estamos estudiando.&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm4h2CF2j5G-dov2wKbBPxV2B7v1RIcvl0RgTO-Xhvf2FQSpQ8KPTkLipd77RRLKzY6z9_S190BaYN9TZBU_p2sh7LuJas_2Ee3BASv85j6XxKPMWbUWReTG5KUdgPfCY0RW41bhDFUV8VscDHyuMF2ZjnWyojK1hft2-km4e3ThrQyjz3CPbaQYMTrqQ/s230/lazy3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;61&quot; data-original-width=&quot;230&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm4h2CF2j5G-dov2wKbBPxV2B7v1RIcvl0RgTO-Xhvf2FQSpQ8KPTkLipd77RRLKzY6z9_S190BaYN9TZBU_p2sh7LuJas_2Ee3BASv85j6XxKPMWbUWReTG5KUdgPfCY0RW41bhDFUV8VscDHyuMF2ZjnWyojK1hft2-km4e3ThrQyjz3CPbaQYMTrqQ/s16000/lazy3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si emparejamos índices, se comprueba esta
relación:&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Hogben: &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1,
1, 3, 7, 13, 21, 31, 43, &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;57, 73, 91&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;Lazy Caterer&#39;s:&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt; &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;1,
2, 4, &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;7, &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;11, 16, &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;22, &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;29,
37, 46&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;(13+1)/2=7, (21+1)/2=11,&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;(31+1)/2=16, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Los números de Hogben, según es fácil de
demostrar, se generan con la recurrencia &lt;b&gt;h(n+1)=h(n)+2n&lt;/b&gt;, ajustando bien
el índice inicial. Es otra forma de razonar la relación entre las dos
sucesiones.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si repasamos mi estudio de estos números,
podemos descubrir que los &lt;b&gt;c(n)&lt;/b&gt; son la cuarta parte de la suma de dos de &lt;b&gt;h(n)&lt;/b&gt;
&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;diferenciados en dos órdenes:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2=(1+7)/4, 4=(13+3)/4, 7=(21+7)/4,
11=(31+13)/4, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Los primeros términos de la
sucesión &lt;b&gt;c(n)&lt;/b&gt; son:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1, 2, 4, 7, 11, 16, 22, 29,
37, 46, 56, 67, 79, 92, 106, 121, 137, 154, 172, 191, 211, 232, 254, 277, 301,
326, 352, 379, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://oeis.org/A000124&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;https://oeis.org/A000124&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Basta aplicar la formula a los
primeros números naturales para conseguirla. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Algunas curiosidades&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En la página citada se
proponen varias propiedades y curiosidades, pero sin desarrollar. Estudiaremos
algunas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Todo proceso en el que el
término enésimo produzca el siguiente al sumarle &lt;b&gt;n&lt;/b&gt; puede interpretarse
como número del tipo &lt;b&gt;C(n).&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Un ejemplo que se propone que
el de contar los términos de la expresión (x+y)*(x&lt;sup&gt;2&lt;/sup&gt;+y&lt;sup&gt;2&lt;/sup&gt;)*(x&lt;sup&gt;3&lt;/sup&gt;+y&lt;sup&gt;3&lt;/sup&gt;)*...*(x&lt;sup&gt;n&lt;/sup&gt;+y&lt;sup&gt;n&lt;/sup&gt;).
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;For n &amp;gt;= 1 a(n) is the number of terms in the
expansion of (x+y)*(x^2+y^2)*(x^3+y^3)*...*(x^n+y^n). - Yuval Dekel
(dekelyuval(AT)hotmail.com), Jul 28 2003&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;La justificación es la
siguiente: Los primeros términos la cumplen, porque c(0)=1, c(1)=2 y c(2)=4,
como fácilmente se comprueba. Los siguientes deberán incrementar los términos
en &lt;b&gt;n&lt;/b&gt; elementos, porque, por ejemplo, la expresión segunda x&lt;sup&gt;3&lt;/sup&gt;+x&lt;sup&gt;2&lt;/sup&gt;y+xy&lt;sup&gt;2&lt;/sup&gt;+y&lt;sup&gt;3&lt;/sup&gt;
se convertiría en x&lt;sup&gt;3&lt;/sup&gt;*(x&lt;sup&gt;3&lt;/sup&gt;+x&lt;sup&gt;2&lt;/sup&gt;y+xy&lt;sup&gt;2&lt;/sup&gt;+y&lt;sup&gt;3&lt;/sup&gt;)+y&lt;sup&gt;3&lt;/sup&gt;*(x&lt;sup&gt;3&lt;/sup&gt;+x&lt;sup&gt;2&lt;/sup&gt;y+xy&lt;sup&gt;2&lt;/sup&gt;+y&lt;sup&gt;3&lt;/sup&gt;),
aparentemente ocho términos, pero se pierde uno al sumar los dos términos del
tipo x&lt;sup&gt;3&lt;/sup&gt;y&lt;sup&gt;3&lt;/sup&gt;, con lo que se suman sólo tres términos,
quedando 7, que es c(3). Lo vemos con wxMaxima:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;i&gt;ratsimp((x+y)*(x^2+y^2)*(x^3+y^3));&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;y^6+x*y^5+x^2*y^4+2*x^3*y^3+x^4*y^2+x^5*y+x^6&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Siete términos, c(3)=7&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Se razonaría de igual forma
para grado 4. Lo comprobamos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ratsimp((x+y)*(x^2+y^2)*(x^3+y^3)*(x^4+y^4));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;y^10+x*y^9+x^2*y^8+2*x^3*y^7+2*x^4*y^6+2*x^5*y^5+2*x^6*y^4+2*x^7*y^3+x^8*y^2+x^9*y+x^10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Once términos, c(4)=11&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Otra forma de ver las
curiosidades es la relación con técnicas de elegir dos elementos en un
conjunto. La propuesta de nuestro compatriota Arregui aprovecha ese detalle:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;Number of interval subsets of
{1, 2, 3, ..., n} (cf. &lt;/span&gt;&lt;/i&gt;&lt;a href=&quot;https://oeis.org/A002662&quot; title=&quot;a(n) = 2^n - 1 - n*(n+1)/2.&quot;&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;A002662&lt;/span&gt;&lt;/i&gt;&lt;/a&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;). -
Jose Luis Arregui (arregui(AT)unizar.es), Jun 27 2006&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Para fijar un intervalo en el
conjunto&lt;i&gt; &lt;/i&gt;{1, 2, 3, ..., n} bastará elegir un inicio y un final, pero existen
n(n-1)/2 formas de efectuar la elección, y añadimos el intervalo vacío,
obtendremos los términos C(n). Por ejemplo,&lt;i&gt; &lt;/i&gt;{1} sólo posee el intervalo
vacío (),&lt;i&gt; &lt;/i&gt;{1, 2} los intervalos (), (1,2), (2,3), (1,3), que son c(2)=4,
&lt;i&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;{1, 2, 3} tendría estos: intervalos
(), (1,2), (2,3), (1,3) (1,4), (2,4), (3,4), en total c(3)=7.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Cualquier otro proceso de este
tipo, ajustando los índices, se puede representar con los números c(n)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Termino con dos propiedades
triviales:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;Numbers m such that 8m - 7 is a square. - &lt;/span&gt;&lt;a href=&quot;https://oeis.org/wiki/User:Bruce_J._Nicholson&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;Bruce J. Nicholson&lt;/span&gt;&lt;/a&gt;&lt;/i&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;, Jul 24 2017&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En efecto, si T(n) es
triangular, 8T(n)+1 es un cuadrado, según una popular propiedad, luego
8C(n)-7=8T(n)+8-7=8T(n)+1, que es un cuadrado.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;a(n) is the sum of the first three entries of row n of
Pascal&#39;s triangle. - &lt;/span&gt;&lt;a href=&quot;https://oeis.org/wiki/User:Daniel_T._Martin&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;Daniel T. Martin&lt;/span&gt;&lt;/a&gt;&lt;/i&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;, Apr 13 2022&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;En efecto, los tres primeros
términos son 1, n y n(n-1)/2 y su suma 1+(n&lt;sup&gt;2&lt;/sup&gt;-n+2n)/2=1+n(n+1)/2=c(n).
&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;Por ejemplo, para n=4 queda
1+4+6=11=c(4)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Recurrencia lineal&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Las sucesiones dependientes de
cuadrados suelen presentar esta recurrencia: a(n+3) = 3*a(n+2) - 3*a(n+1) +
a(n). En nuestro caso los términos iniciales son 1, 2, 4. Con mi herramienta de
recurrencias se puede comprobar.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;(&lt;a href=&quot;https://www.hojamat.es/sindecimales/aritmetica/herramientas/herrarit.htm#recurre2&quot;&gt;https://www.hojamat.es/sindecimales/aritmetica/herramientas/herrarit.htm#recurre2&lt;/a&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Rellenamos las condiciones
iniciales:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiurrBurbrSFVhNQMx2_gwMgMnXSgJmhRKbZxpjajlEGHG2haUiCc71zRYbIaeD465cHZXsRKhbN7CDxFVbabOMwg5Vw8SbB6VTMGmooqDLAdbtrRSrJpwQLdqhlTjsm7BuPTaJK1yLrOTPIIqUFLf0Vxh8ao92r1TYK8zopXuF1AqOGGjoSriqkWPugK4/s452/lazy4.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;92&quot; data-original-width=&quot;452&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiurrBurbrSFVhNQMx2_gwMgMnXSgJmhRKbZxpjajlEGHG2haUiCc71zRYbIaeD465cHZXsRKhbN7CDxFVbabOMwg5Vw8SbB6VTMGmooqDLAdbtrRSrJpwQLdqhlTjsm7BuPTaJK1yLrOTPIIqUFLf0Vxh8ao92r1TYK8zopXuF1AqOGGjoSriqkWPugK4/s16000/lazy4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Pedimos ver la sucesión:&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-49ELLMOyjeQLZjUxnSBeOQ7KprqhwrgkQMKQ4XVBkebBUZiRQ8mr8FGtSVgprQVJWqTqUOYZi-8tAK5AG5iGdxlM9G_X4PbCooIcexnCStJaV-HoBMMiA0pZDPpyvrt_LM-lv3P7ZuVkCNjiaNMh31VaAkxp7qAwXDDhkYorXjQXGVMwQCBIt3aD9ck/s305/lazy5.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;305&quot; data-original-width=&quot;69&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-49ELLMOyjeQLZjUxnSBeOQ7KprqhwrgkQMKQ4XVBkebBUZiRQ8mr8FGtSVgprQVJWqTqUOYZi-8tAK5AG5iGdxlM9G_X4PbCooIcexnCStJaV-HoBMMiA0pZDPpyvrt_LM-lv3P7ZuVkCNjiaNMh31VaAkxp7qAwXDDhkYorXjQXGVMwQCBIt3aD9ck/s16000/lazy5.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Como era de esperar, obtenemos
C(n)&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Como los números de Hogben
también dependen de un cuadrado, se obtendrán con una recurrencia idéntica,
pero iniciando en 1, 1, 3:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;v:shape alt=&quot;Gráfico, Tabla, Gráfico de cajas y bigotes

El contenido generado por IA puede ser incorrecto.&quot; id=&quot;Imagen_x0020_20&quot; o:spid=&quot;_x0000_i1026&quot; style=&quot;height: 86.5pt; mso-wrap-style: square; visibility: visible; width: 424.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;Gráfico, Tabla, Gráfico de cajas y bigotes

El contenido generado por IA puede ser incorrecto&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQChsxfPBSwQlScCF1KJ1WUUcE7JgM03u9iZiVcmHH5EeJHVYK5qpAbsh4gyHjY7qesSK74xsLx9dbi-1SJKA6DGwTRZSnOJhEG5zhK5q1FqN2ElwYfAG3OmV3JA7PaD990SY8yZ_GbhviP3_kvy3akKCxvWi2dwJAjT0nurscYACRh5cKdTfSVDDVvLg/s453/lazy6.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;92&quot; data-original-width=&quot;453&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQChsxfPBSwQlScCF1KJ1WUUcE7JgM03u9iZiVcmHH5EeJHVYK5qpAbsh4gyHjY7qesSK74xsLx9dbi-1SJKA6DGwTRZSnOJhEG5zhK5q1FqN2ElwYfAG3OmV3JA7PaD990SY8yZ_GbhviP3_kvy3akKCxvWi2dwJAjT0nurscYACRh5cKdTfSVDDVvLg/s16000/lazy6.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Pedimos ver la sucesión y obtenemos H(n):&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLozU-181rz9A2feCdX5GdFbxBx8MssdCHzfwijYB0m_WRai5FTYhAMO2bW0j6b6wfm4IAe2BRjkHLhgj-KCQVgQfKB_TsptewkWkKsRu4BblXHEEZo7SdTN5fjd9xr86YbDi6zIWBA6jZxoK7OTBrWPvdkp5VPQ08uiSK4TbR8HCInPwv5p37EqnCbmo/s293/lazy7.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;293&quot; data-original-width=&quot;57&quot; height=&quot;293&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLozU-181rz9A2feCdX5GdFbxBx8MssdCHzfwijYB0m_WRai5FTYhAMO2bW0j6b6wfm4IAe2BRjkHLhgj-KCQVgQfKB_TsptewkWkKsRu4BblXHEEZo7SdTN5fjd9xr86YbDi6zIWBA6jZxoK7OTBrWPvdkp5VPQ08uiSK4TbR8HCInPwv5p37EqnCbmo/s1600/lazy7.png&quot; width=&quot;57&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;v:shape alt=&quot;Tabla, Calendario

El contenido generado por IA puede ser incorrecto.&quot; id=&quot;Imagen_x0020_21&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 219.5pt; mso-wrap-style: square; visibility: visible; width: 43pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;Tabla, Calendario

El contenido generado por IA puede ser incorrecto&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En nuestra entrada de blog sobre estos números se explica
el fundamento de que esta recurrencia sea válida para expresiones de segundo
grado.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/8565287746555863835/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/8565287746555863835' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/8565287746555863835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/8565287746555863835'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/02/el-catering-perezoso.html' title='El catering perezoso'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC9j5fkBuQ0xtZHTIU_KEk_2snQzaZ0ZQwZprUMdf8Ik47RF-Zd2P7oqbY1acWMmFaQCkWp8oO1dKs8Nstn7zPRwG-xRaPlZhk_krDEE4TMtpoZaF5_eDvv4pVm3RQevs_ppn9rJ7IYmTaigzBfuTsEX5ajygDMqjX-HiKW_Mup9ilRbQp78xwtR9Oi08/s72-c/lazy1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-1852629835642766776</id><published>2026-01-26T09:30:00.001+01:00</published><updated>2026-01-26T09:30:00.116+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Algoritmos"/><category scheme="http://www.blogger.com/atom/ns#" term="Búsquedas"/><category scheme="http://www.blogger.com/atom/ns#" term="Curiosidades"/><title type='text'>Por una unidad, no son de Fibonacci (2)</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;En la entrada anterior
repasamos las recurrencias lineales no homogéneas, alterando la definición de
la sucesión de Fibonacci, ya sea sumando o restando una unidad y cambiando las
condiciones iniciales.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;En esta segunda entrada
restaremos una unidad a la definición clásica, y fijaremos a(1)=1 y a(2)=k,
número que variaremos para ver qué ocurre. La recurrencia será a(n)=a(n-1)+a(n-2)-1.
Tomaremos k=4 para comenzar. Como en la anterior entrada, generaremos la
sucesión directamente en columnas de hoja de cálculo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id=&quot;_x0000_t75&quot; coordsize=&quot;21600,21600&quot;
 o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; filled=&quot;f&quot;
 stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt;
 &lt;/v:formulas&gt;
 &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt;
 &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt;
&lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_i1029&quot; type=&quot;#_x0000_t75&quot; alt=&quot;Gráfico de dispersión&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto.&quot;
 style=&#39;width:128pt;height:225pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;
  o:title=&quot;Gráfico de dispersión&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img alt=&quot;Gráfico de dispersión

El contenido generado por IA puede ser incorrecto.&quot; height=&quot;300&quot; src=&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAHCCAMAAAA3jOfrAAAAAXNSR0IArs4c6QAAANVQTFRFAAAAAQAAAAA6AABmADo6ADpmADqQAGZmAGa2OgAAOgEAOjoAOjo6OjpmOmZmOmaQOma2OpC2OpDbOpDaZgAAZgEAZjoAZjo6ZmYAZmY6ZmZmZmaQZpC2ZpDbZpDaZrbbZrb+Zrb/kDoAkDoBkDo6kGY6kGZmkJBmkLbbkNv/kNr+tmYBtmYAtmY6tpA6tpBmtraQtrbbttv/tv/btv//tv7/25A627Zm27aQ29u229vb2///2v///7Zm/7aQ/9uQ/9u2/9vb//+2///b4ODg/v//////+ch/JgAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAABl0RVh0U29mdHdhcmUATWljcm9zb2Z0IE9mZmljZX/tNXEAABGwSURBVHhe7V1tYxu3DT4rcRY1r+tkp9HSdvXWrqnlZS+t0yZR5Z6S+/8/aeDL3ZGyTgeJAEhH0Jc4iUyCzwEPeAQIVA315yP1gOnj7RKpSh9+YwQFgBzS5AFVA3ZAqCaQrF+bAygHkEOaPKBygHLAMAJKgh+P/KMakEyx6gb1XSBGQDdC5EaVPKBuhHQj9NlvhOrZg/e3Fnld/c392xGYwHX13e2HXJ89/MQOQH1Rnf5sZ7muvhydLZnOwgGuq27V64t7IMQtWS4nr0dFSt0J1rOqepgFgPVFO3PTrKZGhluyLE/Gn0k6APenDmdpDVhN/zQzz93NbSygnm3IUp85ZuDkAGCff1V2GmkAYNELbwPrC/sMbsni/50ZgHv/u7ByCANgzH7poIeVW1WAP0AWw/ytLJfOD/BqQCuHMABLoJ72Ca+mFgiDA2DyoQfAy8QNANARkI0wAAuj9X5OA4YHIJbF/wc3AEDCoIKyALidj3/0AQBGll86WaQAaBbwCGQBWNpdBzxvRz+dBjTNZfXwUyuLGAD1bPJaFoBF9WQOn3O79FADmvqsl0UMAPMMRAFYTSv/MfwfARDKIgcAqMA/JbfCLdrOBgIvYLjwrJNFyAsYBl7CAxnfd1K9C7T+z5t/vw+wO8PlSSuL3ymxewFHR4IA+EduXR+4w24n6LbGnSxCO0G3Hwer/Nb+IHEm2FoATLdwexD3LuDfDVZfOFlanDg14LZSSwCwOasnu9v/PG6VqW+DZQDgzgNufexucUQpPw8AvA1sIOBOCY4DgO1ngif+nOzz54AR96oA7ACoOvLo+MfPhAR324CawC4TGOGP/f87x0ZISVBNYCcCygHKAcMIqBvcn+YTKJd8MtyAAhywvvIxYpkDEcy6kSLRmMDNeR+qLmQfgBWJBIDrajIvTAPQIlEAUM+eve8PpYrQgPoMKxIFAM27LjYxcvyCsV2a76BFIgEAZC5MAwyKOJEUABqNQ8JNNBluGNUAlGNSE8Cp0+i3cPo2OgzlF3AiqQYQYY6Dm2gy3DAgkksVZk2TsxO8mc9fVPfn81djs+Ekp/gWWiQKEzDxePux2XpFbIXXf8eKRAFA/MSKAAAvkgJAYXDRGKoB5JAmDyhwJBbIqBqQ/MDIB9ipARoep8ZbTYAa0fTxlAR3YKgboXQF2xhBOYAc0uQBlQOUA4YRUBJMNjAY4OZ7uMJz+uP4+RPFZOgxzDmNSxbm5oDfp9XkMZzAjM+GFp7ii+YWz7hIFCawfPZfe0/F5eyX4gbhDsFXQgC4x7Xy1+hLASC4Xc5tAkUCYG4QtNfrZQBYlmUC5rqMLAD2+lYxHGCvy4gC0CpAGSToblFJAnAza0u6FEGC7nK5IABQwMUZQBluEK5Q/mIBcJWU+EmwPu/WX4QJLKtTc7n+EdyxNzcH2QEI118EANdwfdp/jGJyAxCtvwgAvDVKccCiqh7bz/Mxg6PY4u8xhiAApYXHHUqXou8C7ZMpwg3GasLNAfjZ9lBfyq8qADvQpDgPUA2IEFAOoLRemrE0PL4jB0A5gEbJglGUA8ghTR5Q9wG6DxhGQEkw2cA2B1ASJIc0eUAlQW4S1PA4nL7C/fGSIkPwzIXD41DQbbySebI17zFAhvB4WfkBGcLjRWmAeHjcFfWGTyH7ANHweP3D/GU1+doZaBkAyIbHXZ1nkylUCgDy4fHmt/OSMkTEw+Pw5FsSKMEExMPjVvd9kfsSAJAOjzv2M00GCuEA2fD4+h++jrULRZagAX7DKBgdfmreBWx0/BgBWP/6Arzgk9KSpTU83r056YEI94FINH5BJNjKpRqgGjCMgMYF9Pb4Dvs46L+UBA+CjfWX1AuoF1AvMIiAukFy9lEvQA5p8oDqBQS8AO6qdvKzRA7QFfhzR/USGoCLRSPlT/7a+spdYXkkBgAyFp28sj0HQJzUE7lBZCx6T/lTvy7RcdLJiI1Fp65oz99ve5PzcwA2Fr3nAhK/7tsyC5AgOhaduKI9f71VAHYvgI9F77mCxK+3F/rZAcDHohNXtN+v25bw9sPMAb7bLSYQt98KEr/dKQA3AHvEohOXtNev25bMIhpw3d3UtmlSpbwN+k2QgAl4mAszgUABuE2gTADaxNVj1QCoru6bDvN7gQ1qKoUDArGY3aACECOgGrCXtxb5sprADpiJDkSQjCPyvG9PorfH9fb4sOqpCZCbpbpBckiTB1Q3qG5QSXAQAfUCyQyzOYB6AXJIkwdUL6BeQL2AeoEhBNQNJlOsukHIDwmKymYNja2vunbbv8JFxslz0wWWPTpsAOjLCucE4AYWba/vmovMk6fzafXggwwAftZRuMntLRoQFj33AEBugOt7YqtacG+E6lkRANSzZ+/bBtg+N2A1HW2FTOEFCgGgeWdqB9ln0ebH1Wc2R4BfA6Dt9l//4wgnJwd0APiklRYIfgCsF5iMdzXi5QAY3WtAmx7kE+W4AWjWMPUfV5VLScn6OtwB4Goa+SYb7AC4B1tCBYkNDZAFwOcllqABvoiKFAd4y/boFwGAY3/YoondF7AmMLrrkCJBaK1g+8sglJJgH+CLqLwthAQ/2ZWfmD47bbY0MwnCNBPT0ia7G3wzn7+oYEvyChC4hHeBl1O/MWYGoPnjzSPYBfhSYvncYHdRyLjA9Ruob3bf1vfh3wnGlp2VBLeTDLcGKAARAqoB7L5u7wnUBHZARrAP2Bj9rpmAFlHZ26JGfuGuaQD1+vNthIZXoiSoJDiMgHoB5QBqBNQLUCOaPp56AfUC6gUGEVA3mE4xd/xtUAGgRkD3AdSIpo8nsA9w5dVtk5GcGhBkiTVIkWi8wBWsHhrN5I4NBlliDVYkEgCgWIHrMJNXA4IsMdP4CycSBQBhtYqMJhBmieFFogCgzU3LrQF9llibK4RQSgoArn2TrdwAwPzts8CLRAHAovr6qo/F5vQCHQCL6hukSDQAVNVTCM1n9wK9BizAK+NEogHA+r/leP3K9D3NyAgbqbIuUYQ9U9SXUPL5qYWYgM0RQohEqAGI2cQ04NKZI0IkCgC83iFy0sQAWJ48NMlSCJEoAPC7DkQJVwkAbJYYpIn/BH8gRKIAAOYByn1Unf6cdyscZolBuzWcSCQANG9Nmtir8Qs6rBoQZYmhRaIBIFxYVi+wHWGB84BgYgWAVc8PGlw1YAdsygEH6dSuX7prHKBZYtQqcNc0gHr9WY/FBxajXkC9wDAC6gaVA6gRUC9AjWj6eOoF1AuoFxhEQN1gOsVsjKBegBzS5AHVC6gXYPUCe7R3TFbmnQPcfA9ZCqc/mu/gy5sReIE92juyAvD7tJo8hrwAExfGlzcjAKBdFSIQxwrA0lQwAHU0KQH44lZ0AGDaO7IC4AZfTU39lBwAYNo7SgJgo8TuI+IGUe0dBQBwiTr1DFvejMwEUO0dBQBwxXzqM2x5MzIAUO0d+QHwmVr48mZUAODaO7IDcDMLWoyZYjo2U0aCA3DtHbkBAPdvk6Paj0wlKbfzQrV3ZAagPo/X3yaOCmgAsr0jLwC31o8pb0bDAdj2jqwABOvfo7wZDQDY9o6sAEB+sOs5/7yBdovY8mYkAHSboLFtFzcAXYVrfHkzEgCidemRGOtjPmhwAS8QyKUacNBDYv0l1YAd8CoJapYYtfUpCVIjmj6ekqCS4DAC6gXSLWxjBCVBckiTB1QSVBJkJsF1WF09KweYUL3r9SLZasvV15+6y+N50+WXcCZkARBtteVP3wvoMLG+uPeVBUC21ZavV1FAj5Hr6jt3l1+21ZZfucchIwfUswfvLQDirbaqP79v3lauuVFGABYQnrIACLfaaqCCE2TnPMt8eRoMHzqtWQCkW20ZBKrJt5kBAAYEN+QBkG21dQ3JaeB3M9cPWNrIaKQBQq22IDJq+rosHAnk4gBv9wuTJifbaquNjPo/cwGwrE7n8HkEde1e+0aLQjVE9qDc5Pe6HQNAHY/286Vwqy3f2rSEQkpth0HRVluQhxEGo3OZgFcOX9VJtNVWY7OU215bZQCgrbZCttATIT0RYj4RiobPzAHblqomoCawwwQ0PE69PVUOoEY0fTwlQSVB3QcMIqD5AekUszGCegFySJMHVC/A7QVseBzT6Dv5WY4MEPQVsdeIfaicWwNsePxlVT234mXkgLCviCn2LgWAiwvc+Itj+QCI+oqAAvhQOfu9wTYUmzs6HPcVgRQJHypnB6CNCyBuKbJyQNzqpAuVj1glwUaoRX41zRoag0ce3hrtQuX8AAAHug4TU5sklI0DolYnfaicHwBDt/fnLyE0kBuAvq9IECoXAKC5sZ3G/p3ZBHxekI2KBaFyCQAct1mty2oCNkHOOCUfHrehcjkAcrtBrwEGgDBULgZA6wyykWDQ6gT6S/ShcvZ9gDMA8AXWAvJ5gbjViRHFR4rZK0gsoJ0HvAr4vKRsGhC3OpEEYGWdgK3hlVMDmqiviBHlUuht0K88PwCxIP3fuF+HFYAIgXwcMKQA7CSoGqAaECJw10xAw+OD1HHgf9w1DThwmcO/pgCQQ5o8oG6EdkBIcCi6MbqaQLLGkg+gJqAmMIyAcsDhBre+8odg+Kvah082/JvbxQgKrXOdCZq7gu4UsLuqnePm6BYxPjQNFFp/MgcBXbCMhQThfvrcA4C/qk2vAQNi2ELr8GDGb/MeygH17Nn7jVbvOYKjw2IYrNsbtCwa8M6kYFgT6K5quwwJ2Y3QFjHOugq//pHwmAAsNW66jmn1Tm8Cg2LYJ8PJAf3Me1zV5gQgFqP+AUIVk6/dhCwmEAKAvqrNC0AoxuoLExuzVCgAgKuegriqzQtAJAZM9du5bbfBDkDuu8PbqcjRsyMBZhPob4/nyRDpAHDs3z4P8zOi78uh+wAzfL8PsJkJubLEtovhjXI0Z4MCAHdtvK2vLbsPCJ5DIIYvrr6auugoiwm8mc9fQG7U/JVlv8lTSJLKkR8wIMalyZeCd4Hx7N1DNaDrr2V8D/qqNrkXGBJj7dKmfcieRQMG1yJuAuOoKgA7MDrUBIaHVA0YV0npb6gJqAkMI1BpeJzaIJUEqRFNH09JUElwBwmmK9jGCMoB5JAmD6gcoBygHDCIQMLbYBCXboKfpUkwFCO8PR78zMMBQVzaltX1oXLh2GA0dXh7PPyZBYAgLm3yA9pQuXRwNBbjgYsEwSe6Sc4BQBiXDn8WBiAWowsLh01guU6F+7h004Q/C5tAMHV4ezy+Sc6hAUbNts8oTYKdGOHt8fgm+ZEAEN4eX1TfXMFtbl/X5GgA6G+PQwdaiIxAbEAiOGpZtzeHbCYQ3h4Pf2YKjZXHAf6irE1Z8vfGffrS0ZiA1Xe76Eun+8cFQJgosTx5+AkA8LkCR6IB4e1xqK//k90P8uUHhHHp8GfhjVA4NRTYfwr9BWyjC6gg0P3Mkh8QxqWjGLUsAPHUb6Gk2eSVa3US/sxlAtvfscXd4PiJmQKgR2J6JMZxJDYwpnLAOClJf2MnCWp4nPpxqAlQI5o+nu4DdB+g+wDdBwwhkBAb1I2Qvg1uReB49gF9XBp9VTvdpW+OEE3d9CFxdDv0wzmgD4nDVW3ououpZE4OQDx1HxLv2qHzXZsL4tL2qjZMmaH5ejR1EBL3F7j86TjHTjAOiZsnu5q66HQGDnBTh8XV8e3QDzaBKCReBABRsNrFBRCVfg8GAIaPg/C+52oODXBThyHx+gzbDp0OAB+PzAGAmzoqro5uh04GQKsAGQDwU8chcWw7dCoAbma+hK08AO3UUUgc3Q6dCIB61nU3kPYC3dRheNy3Q78cb4dOA0B93nd3EAagnzoort5daHf1RDj2AcbxdV4gXL+wCQRTB+Hx+sxVThDKD4jWLwtAOHUQHodt6V/MPgDRDv1gEwji0kC/j+3H3tUWNYFo6iA8vjzBtkM/FIAwLm38j/3Id5mJpw5C4uh26IcCMPxeJ6oBuNdLLhLUE6EjPxHSQ1E1gc/CBDQ8jvMk+G+pG8RjJfVN3QfsQFp3guRqqBxADmnygMoBygHDCCgJJhvY5gBKguSQJg+oJKgkqCQ4iMDRe4H/A3rON0wRqzgfAAAAAElFTkSuQmCC&quot; v:shapes=&quot;_x0000_i1029&quot; width=&quot;171&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Procedemos a encontrar la
solución homogénea, y vemos la diferencia entre ambas. Se puede consultar la
entrada anterior para seguir este proceso.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Pantalla de la hoja &lt;i&gt;recurre_lineal&lt;/i&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;_x0000_i1028&quot; type=&quot;#_x0000_t75&quot;
 alt=&quot;Tabla&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto.&quot;
 style=&#39;width:258pt;height:72.5pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png&quot;
  o:title=&quot;Tabla&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img alt=&quot;Tabla

El contenido generado por IA puede ser incorrecto.&quot; height=&quot;97&quot; src=&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgQAAACRCAMAAACL6FB9AAAAAXNSR0IArs4c6QAAAYZQTFRFAAAAAgICAQEAAQAAAgEAAQEBAgEBAAA6AQA6AABmAABlADo6AzVXADpmADR5ADqQADqPAl2aAGaQAGWPAGa2AGW1OgAAOwEBOwJXOjoAOjpmOjqQOmZmOmaQO2aPOma2OYObOoKaOpC2OYO6OIK4OoK4OYK4OpDbOo/aZgAAZQAAZwICZwIBZwEBZQEBZjoAZzsBZDQBZToBZjo6ZjpmZpC2ZpDbZZDaZaa4ZrbbZbXaZabXZrb/ZbX9ZbX+kDoAkTsBjzQAjjUCkDYCjzUCkGYAkGY6kLbbkLb/kNu2kNv/j9r+tl4CtmYAtmcBtmcCtmY6tmc7tpA6tpBmtbaQttv/tOfYtv//tf3+25A62oMx2oQz25E725Bm27Zm27Zn27aQ29u23t7e29v/2OfY2///2v7+/ahY/7Zm/7Zn/rZn/ch7/9uQ/9uR/tuR/9u2/emb/emc//+2/em6++i6/Om6///b/enZ++fX++jZ/OnZ4ODg/Pz8/v///v7//f7//v7+////Nh+DVgAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAABl0RVh0U29mdHdhcmUATWljcm9zb2Z0IE9mZmljZX/tNXEAAAv3SURBVHhe7V37YxNFEF5aNKJiFUtUFPFdCr4RtYpPFFSMIFi1WGN9RKtGC62mooLcf+7s43KPXLqz293N7WXuhzaXm5vb+ebbmdnN3h1Lsu2f3OdAH31c0odOJBw+Lh1AJyMSIB2MEQvgMEwztDKldhIJtIgZCBAJDMAaisaCGtK2WMyhSIB0qI1YrCT4h7apR4BqApseP+6cWCMBjQ4csoBIYANmLKghbYvFHCoMkQ61ESMSNBk1pG1EAiRQBbFYUEPaFos5u04H/efYvo+QoGjFYkFNa4gUiMUcPQk2zrQZO3R2jN2bi4yxUxfYfG8oUNhBwqXEYkENaVUs5mhJsA4UgK01prev8yODt9i+L1JgCjtItFKxWFBDmhWLOToS9NusBVFg7cQYEqwI90Pnz3Ap7BTgEozZaYsFtSkjQUfjN0kC5EYkQAK1g1iAflKeNoaUPzfM9hsnIC/I6gDKQdY62RMVAdCgIyJB9wHGDi8nckdJJLC7dAnCycv8E98Wcsc2zjC2PxccAli4ezfgNcRijiYdQDYAp8lNVQf8i3XhTjZfIMGK/E6SIJVIXQ/V45AEw2Py9Ixl0ZTTSB40jwS84FtONngNCB+BCV2eKWQ64H4Hjx7oDS4eETs5Cej/j/X6i5IZvCbIjvXbsL/2UpZPYkFtakkAQeEUjwfgSPgot1M5EgwTPidBTqIjurr4K0WyY8Cb1snvc4gSCbT0CgBRRU2Q1v3KyZwLKp4XI0GBBDmJERLkjvHCgR3JDA9goRZlhwKxmKOpCSB0p6O6YiTgQYFvWTooR4JUoioSpMeS5FsoDbO9WFBDEiUWc3TzBNBt9y+LeQI+UICagA8X5MdB98FejgRAEpg27MqaICdRIAF3eHasf2iZ7w1LTyoM9ewKQKzRlUWy5peRX34CP6qPkOazSKCKfzU6yCRyJBDVwEJ2tqwOchNIASzUw+xOIhZzdJGAB4F0dkB+grggv2zBnECeBAOYDsjmCYYSORIkXZgw+CB39tf8ZwmhUG6xoIbkSSzm6EmANNiJWCyoIY2NxRwiAdKhNmJEgiajhrSNSIAEqiAWC2pI22Ixh9IB0qE2YrGSYLK336jZaLf/JmuS66vvcQuO1PZdoZUTvgOJbbvf8ibZdOddnOMjEuz5yz1Ee/4tGEkk2IXPR04lEtigSZFAixpFAptISOlAixqlA23fsxegdGCDHaUDLWqUDrSBrUKA0oEWNUoH2r5nL0DpwAY7Sgda1CJJB7AYKXc/ktaqvMB0kuCTGZi0u+O16yioIiEBrDE3uCupOFelTV/mAvWvCQQJGHsDxYI4SLC5OPd+bu0oit6pkNNIcJk9zikTAwmO3hi8PXvwPwxWTknw1d4nrgFE7gvDdbawbpsPHJLgyrFH3omLBMEjwdXjj777pB8SdPjNKZb5wCEJtre34iEBzwZHb2ACQeI0Emyd9kOCfnuuB3crZPcSoExTQtNMAiQLoiCBWmtuNz6YVhJAFPjmltY5TGUYAwkgCIjNLh9MMQk2n76tMSSQ5YBtPphiEjQpEqzIgcFK/qkD+KrANQn+jmSIKILnBIaIfgrDNASs2+UDhyS4cowDC4PE+s8TnBczhq8EHx1cPT4LF37qmod5Any/H5V0SILh1GL9SWCEmNPCUIHkfrLIyKSSMJFAix6RwPyXgxjSgdbxeQEiAZHA7Yzh9KSDm0Y9zaVwrItKXN8wY6bPx901zKwJdZdu/h1IPrqOD53IcOHj0gF0TvgOpAAWIv3nRCwWc+iuZCfurlZCJLABNxbUkLbFYg5FAqRDbcSIBE1GDWkbkQAJVEEsFtSQtsViDqUDpENtxIgETUYNaRuRAAkUpQMzoAIQiyaLzFyys3QAhzlpLtUETmCkySJ3MMbSdZAWx2IORQKkQ23EiARNRg1pG5EACRSNDsyACkAsGh2YuYRGBy7xkroC0Nx9o8drjMUcKgw9soJIYANuLKghbYvFHIoESIfaiMVKgrovtqX2+UdgwqMDm+6mO8dHd9RdUx33cekAOokESP+ixAI4DNUOnVC9agJda22O+/AEsh0+Lh1AJ0UCpH9RYgEchmqHTogigQ6hXRwnEuwCPKen+vAEsoE+Lh1AJzIddGwfWapFz71mH6hpzZACPi4dQGeJBIOOevYQPIso/2RCM1ddYPO9PGyF/dJBM80YZ/hADXPdxpAAnkImn03abxeeUWrkKiBQ4amGhf3yQSPNKF8QCbQwaQpDcP4C17FS9KOZq6CzF9pR2C8dNNOsNc9Td8Rc19OlfXBaQwLoqHMQykvZIHHvqhRW95p9oDZdJIAQ0PooSTYXeTbon2jD8/ZeBgSkqzZOwJNFDp0VHFk6w9nSf46x1klgzcYZxvbDiWIT0h22dKnNWtnZ3QcYO7wsD5Y1V+tBQl8SIxJocdPNE8h8IJ5NmT62GOggPLcOlODbgjoy14MX3/BtnpMGNh5DciSQB9Oz5YOw54WqEc3VerTGVAoQCbS46Ugg84Hs+WtneyoxKM/tW042eNXHnQhUgX/wtwuxo9+G+LH2EjzlOE+Cx3r9RRkUBE0O9AYXj0jVI5or9WiNIRI4gWh0noDnA5kNksEFiODiLVfcc2rAsA7HVckA36jeDie0Tn5fyPMdERjEX342Py1jyIjmSj1OLLRTYneWjyAUQOcoCXg+kE8qToO2IoFyI+eCIoHKBty9PKmzI8WaYDwJRjRLDpT11McTyJYEcBiyJTuL6dKBiP8yG4C7oaxTVd6YSJC98ORbKA3VnjplPAmqNcuG5/TYGezDE8iW+Lh0AJ0V08aiguPuhI6+lKy1c1l9DmqCRQjwKhJAEoBvBt0He/1DyzzriymGIW8KJAC/wzRiV9YElZpH9SChL4n5QA3ZEh+XDqCzggQ804sZP1nyD2sCPpsogvap4TSC+mauJ6sDlfXT4FEgAXyZjQ7GaC7rQUJPJDAFSpsORCkgZ/w2INHvv5RGAqjpxTzBcm4uiX/TgsF/8jWwgB8ZGwmSAcwaDOcJqjSP6jG1Tcr76DrIlvi4dACdyF8RkSDUQswHakjDfFw6gE4iAdK/KLEADkO1QyekTwc6DXU/7sMTSJt9XDqATooESP+ixAI4DNUOnRBFAh1CuzgeKwn839+y0xXUtLPbf5M1yfXVm/++A3oRljbu0DuQ6B1I9A4kGw5E8HJMbe/PC1AksGEBvRxTixq9HNOoH5oJ+xgdUCTQcrpCgCKBFjWXkUCuS+/wX5D5D0iHC3ecoPrQFI8OBp/O3P4lAqS6RwKxgkAsL5S/KacLTRGmKZHpJcFvz8+yRpBA3KKyAkQANiwlXc4Gw80pCS6zx3kgjCMdnH/4s/smQIKP9z5xbXvbZTrgzn9oEVJCukI9W2yGJINDElw59sg79SfB6szdPyarM0dvJMlvEyDBT3e+8JRrEog0IG5TkKuI1PIyJANAzCEJtre3IiDB5tOzb/wuvT8BEmydfvW9J52TAJaV8RywQiQQxEcMEX++9fYXZ9+8PhkSfHXPH6fdk4AvHOT3JhEJsCQYvD3LICNMhAS/3v/5n+5JACODDxchFNShJogjHSSbz6SjguDpYOv069e23JOALx9XNyfB6GC42phqgvEIrM7c++wsrwtFTcDTgmZzN09w9fgsH8jf9YPT0YGYIhB/0vXkOovKx10Xhn/XfYi4+cxt5365tXXu+uoMdwhikOiOBHz87D4SyBuVxM2qF9Qt6oYscEiCK8c4qjBIrPU8wXkYHUJZcPC/1b0NIYGhxyvEHZJgOGFeaxKYQ+Y2EkiUnE4WmZtUOoNIoIWQSKD9PYx+RbSBaAoiwU1t7/IlgJgsMr50iEjgenGsmT63y4yVNrMm1F26+auNfXQdHzqR/dfHpQPonPAdSAEsRPrPiVgs5tTrDqRYUENSJBZziARIh9qIEQmajBrSNiIBEqiCWCyoIW2LxRxKB0iH2ogRCZqMGtI2IgESKEoHZkAFIBbNE5i5ZGfpAA5z0lyqCZzAWK2ESGADbiyoIW2LxRyKBEiH2ogRCZqMGtI2IgESKBodmAEVgFg0OjBzCY0OXOIldQWguftGj9cYizmldv4P4TccA/LYsQQAAAAASUVORK5CYII=&quot; v:shapes=&quot;_x0000_i1028&quot; width=&quot;344&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;Imagen_x0020_3&quot; o:spid=&quot;_x0000_i1027&quot;
 type=&quot;#_x0000_t75&quot; alt=&quot;Tabla&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto.&quot;
 style=&#39;width:125.5pt;height:158.5pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png&quot;
  o:title=&quot;Tabla&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img alt=&quot;Tabla

El contenido generado por IA puede ser incorrecto.&quot; height=&quot;211&quot; src=&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPsAAAE9CAMAAAD6auSJAAAAAXNSR0IArs4c6QAAAMlQTFRFAAAAAQAAAAA6AABmADo6ADpmADqQAGa2OgAAOgEAOjoAOjo6OjpmOjqQOmZmOmaQOma2OpC2OpDbOpDaZgAAZgEAZjoAZjo6ZjpmZmZmZpC2ZpDbZrbbZrb/Zrb+kDoAkDo6kGY6kLa2kLbbkNvbkNv/kNr+tmYBtmYAtmY6tpA6tpBmtrZmttvbttv/tv//tv7/25A625Bm27Zm27aQ27a229u229v/2///2v7//7Zm/9uQ/9u2/9vb//+2///b4ODg/v//////F6cJngAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAABl0RVh0U29mdHdhcmUATWljcm9zb2Z0IE9mZmljZX/tNXEAAAkkSURBVHhe7V2LdtNGEFUcHFIeJbg0LS0pUEqJSxsIgdY4IQb9/0d1Zmf1SLA9UiQvie71OXB0Ytnje+e1mtGsslxfn8P/G30lEHH593siM2LfqMpT0Uu9VwzQ5lebNP3ds44ewkECEfR3+nuTVQv9PYEzJhBBf6e/09/X52boWPcZ9wWt91QXmMxxPVwYNP8Kj27avMdQc65XnplABNd1XNdxXcd13SoGGOcTBOEEIhjnGecZ5xnnGee/ZoA5LkECSiCCOY45jjnOyXG4ZdrPjPMJgnACEYzzjPOM87yW4bUMr2XqDDC/J0i+CUQwvzO/M78zvzO/M78zvxsDXNskWHgkENF6bcN63fpE2Me711HvAVeCH5ZARGubJ/Y+rHr9d1Dvm+e4JsGjm/ndY6gHdSUQwVh3tdrF2U9ZNnowa67kxdNs542dPs22j9Z+8Hrrfb6b6et2c+znj7LRy3D6vDhY+eFk2E92CwieyCrWiRIFyKdpC+yq92Am548iB6t5835Ic8bXnnm6X6nPE1lhFyUakM28vB/Sk9RX49+fttd7ZcD5YbYtbny6m03kF509381Ge8LKYipOcU+9evHajqLeF6/vaKDQd46z22fPs2xsnlB/JcIuP+4K2AWxYPxPf28duzCgr4nYdTgYHej7+tqZGfZzNTN9RwAfZ6Nw/tcucL2xGzjVcB274HwiKp/IH0cv8jN1jGAQi3f3I3Y54+EsP1EyBLvGe/lfLeYG6V0Qxjhfwy6EWPCLB6LYl3I4Dgkt6L2IE+FD+nZ57k3Cri4t6A/qeo9OH7y/NG3Razb6ZWbY5Y3AToB9g7ErAjHXmt6XYs//lVVQ4e+Dwq56V8sNsAtkhc0XdrwQLz+o27wc31ybn997IQntkSEw1BrSnsZYp0sfOeHT9P7sVM9U67Y4LyxIZJNYJ6Z/TWz+S1CRl1qqtc08+rPkMPPt0R3FFFe6xoXFwnhU5LjijbGsCb45dku/YX3SAvvi5K58KKxdcl0ZPjg6tLWNXuFo5tNFTnZLQlx+omsZ+VNc21RvfHvsr66E/auVWL9/8AywX2ktbX4Dwr/JmrYS6tHNmpXHUA82kUBE22U09Z5AKQlEtNY7e5E9OLTzFddR740yYQ/UEHsPJDb/Co9uxnmPoeZcrzwzgYjWcZ7+3oNiGedp80sYoL9v3rdCudVaIx7dw8tx2mJBxX6Y3UXFfrq7/TcodimfToobIdD8fS4dA1DsovaD8gYYML0fZzsfFfufgDkutmXsjikwvSNjD+tG0FhH7Fuoa1r24wBz3IVrZLAcR+yRAep9dakoYy9y83U0zwA38As8kcOr1zG/M7+vdyTavBcVeghECUSwD8tYx1iHFet0nCXMveDVKrUJC4y9mmn1UsvQ8rsMZpZODojdhmVQ/f3WE0zsWyHWTRD1rpjf72bbbwFtPhi7zTai9SItyNlMKxr285//CDYfdnAAy3HnP4ZQh9mPs31qbLsZML1fuHAj9tXXsUNbz9eRUu/U+zIGoG2evcjVTtHXO17g6UtO7Xs8kdA232gF1INSPCX0IOLyV3giqXePoR6UkkAE9V4x4NFNm/cYos13YiABvfD+rvtNjWWvMcDaRexF/gaIXfZU25ud7UPWKm1c5BiyN2HY48CMF14Hlt/nW9kPXxZ/2Y0XYNhjfR4Su+2y+Bi4HzeH7MfZ0u4QMsflH2QH0Rjq0GKdbqcrrz3INe073UfWbrdB0/uFSzmw/E7skQHqfXXFZWDredp8U5tnL7JTGbLRh73A0+hL2p3kiaS/ewy143vp2QlEwNeoawR4dNPmPYZo850YSEAvqr9XTwtE26uz/rRAtL06D2tPC8Tbq7N8WiDgXp0FdsS9OgvsiHt1RuyQe3VG7JB7dUbskPtVErutarH26qw/LRAcO/fqZD9uzYU36zYJCgsJRKDWLpaZtkc396v0GOpUqWt2E0QPImjzFQOeRhnnPYZ6MMgEImjztHllwDM1+rvHEP29EwMJ6MWMdYvXxWTYYio3lSLNiMU7iGVQJB4B7Wu0ePZktpC61e1cj7QRO8GK8/PMJgbyXIbk8LDbNp1iAUA2HyCLzYu2tfuejcNjQnHWNmLoavI2JDYOG5l5aXUo6zrRtxm62LzMyyDt3Xe+X0IP5g+0X6Wm9bD9tr2gsEucM+in9/7Jc7nnCsfmJc7F7cdPv0Pbr7LCbvOw3K8SJsdVga46QsnvxH6RAep9mUXY34aypr2SzXNGbLVh9PWO53x9yal9jycS2uYDTx5DPSglgYjLv9ITSb17DFHvnRhIQC9tnuv5JhGcsS6BM25URNmBLKoYOLXKqgMZa1ZAddoLHchQpwV7rlDRgQx9qQlUrCs7kLpVJ1Ivst6BVLVbQ9YLr8PIcQF77EDKqFBsVGBgFyWXHUgJ+vEeBBjsZRdO1B4iHYrNB6ixAxkTHAr2egdSUl3xhFgIm48r2ZDZypYsis1XHUi55yRGOhTsy6sqEDa/oqBE7KsrbcNY19HmWatsUatkL7JT6b3Rh72g2+hL2p3kiWSs8xhqx/fSsxOIYKxrEesaXelS750YoM13oq/thz26Gec9htoyvuT8BCJQ47w+Mm/0q6DXbTtH9rANj+6B2Pw03DYvhbpYvprgYJe69MNZ/ulIZ0J3ZvLf9lsUvZeblKraZXhEnqSmD02EsPmi8Vps3xZbshDYBev3OgR+FFuwkQsU7CHWbb+x9jMY9r0w+n0AiV0inGp7HrYstIiHFOsUsfyTCI/0nFBN6EeLqfi6tqQ+Fh14iFint1roS1Zzx1vhKEyIYmDP38sq3h6ZF56FDTb7f4VLx4Fcy1ypPErsXlRg7aITAwnoRa3bLNOLRzf3aPUY6mTt9uEEImjzFQMe3cxxHkO0+U4MJKCX/k5/b5JaGOsSOGMCEaD+HioWL8p2HNBsoJanrVKFNxcp1dm92dl+eec80lyk1aSPbRIUbC7SsBeP0MKaiwxjYTogF0rTWHORNhZZlOXB5iLDrNBjy2yQc5Fzi3Wgc5FhOgxsLjL/MCtDHdpcZNzvYk+jPNxc5DvZoNZakZyLbFYa5vV7govrBCJAr9/Zg77EgGdq0P7OuchObYdGH/YMsNGXtDvJE/k/HgPE53JiOHUAAAAASUVORK5CYII=&quot; v:shapes=&quot;Imagen_x0020_3&quot; width=&quot;167&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Copio la sucesión de la recurrencia homogénea junto a la
obtenida para la no homogénea. Creo una tabla en la que al leer de izquierda a
derecha desembocaremos en la expresión definitiva:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;Imagen_x0020_1&quot; o:spid=&quot;_x0000_i1026&quot;
 type=&quot;#_x0000_t75&quot; alt=&quot;Imagen que contiene Tabla&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto.&quot;
 style=&#39;width:363pt;height:143.5pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png&quot;
  o:title=&quot;Imagen que contiene Tabla&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img alt=&quot;Imagen que contiene Tabla

El contenido generado por IA puede ser incorrecto.&quot; height=&quot;191&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjaNktZGAV2OdFfHOw92MyavvDhCwcu84hxuK9zn2xLMMujVClh6CJdTbTJdmKjXXfEoG7M4621MCs0tzgxIUNIjFm8f7AWHFYzEI9BmUjLMdliA6n8_ficd9eilQeQWaG99_wSLMSoTo3mQJf_2RkyLodEC8QJx3CQ0fmK7HaAjBBsoITSGnfHDtqpKJo&quot; v:shapes=&quot;Imagen_x0020_1&quot; width=&quot;484&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;En primer lugar figuran los
índices de las sucesiones. Aquí comenzamos con 1. Después emparejamos las
soluciones homogéneas con las que no lo son, y se puede descubrir que su
diferencia es 1-F(0), con lo que quiero expresar que es el número de Fibonacci
correspondiente al índice de su fila. En la siguiente columna situamos la
solución para la homogénea, deducida de mi hoja &lt;i&gt;recurre_lineal&lt;/i&gt;, y, por
último, sumo 1-F(0). Al final (ver celda naranja) quedamos con 3F(-1)+1. Por
cuestiones de índices, en OEIS usan FIBONACCI(N)+1. Al final da igual donde
comencemos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Se puede comprobar con PARI:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Imagen_x0020_2&quot; o:spid=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot; style=&#39;width:425pt;
 height:36pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img height=&quot;48&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgyhFCVzG5XvBYqWA1b9VG-0p46whOqOSWVhLIw5FvNWD7NmDl1tmi-V_BXOTjHC7PlDT6LV55d1ag7IFhfIFSMhDXfuveh1scF15NUYFBUZP1bxcMCjO6kcR7V-2fi2cec3JwYLTbiR6QpC6EygbuKLiVKNdDQGhdNghrJJPzCS-T4pVsbS_hhZ48QgjA&quot; v:shapes=&quot;Imagen_x0020_2&quot; width=&quot;567&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Observa el código tan simple
que figura arriba.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;Estos resultados coinciden con
los publicados en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A187893&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;https://oeis.org/A187893&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Lo interesante del proceso que
hemos seguido es que es válido para cualquier otro valor de K, y la sucesión
vendría dada por (k-1)*FIBONACCI(N)+1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Por ejemplo, para k=3
obtenemos 1, 3, 3, 5, 7, 11, 17, 27, 43, 69, 111, 179, 289, 467, 755, 1221, …
que sigue la expresión 2*FIBONACCI(N)+1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Para k=6 obtenemos 1, 6, 6, 11,
16, 26, 41, 66, 106, 171, 276, 446, … definida por 5*FIBONACCI(N)+1:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;for(n=0,20,print1(5*fibonacci(n)+1,&quot;, &quot;))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;1, 6, 6, 11, 16, 26, 41, 66,
106, 171, 276, 446, 721, 1166, 1886, 3051, 4936, 7986, 12921, 20906, 33826, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;La mayoría de casos para k
están sin publicar, como era esperable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Casos más simples&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Si las complicaciones de la
recurrencia, otra forma de añadir una unidad a la sucesión de Fibonacci es
realizarlo una vez esta formada. Nos resultan dos sucesiones sencillas:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;span style=&quot;color: #0c343d;&quot;&gt;Fibonacci más una unidad&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Usaré PARI, que nos está
viniendo muy bien en este tema:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;for(n=0,20,print1(fibonacci(n)+1,&quot;, &quot;))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;1, 2, 2, 3, 4, 6, 9, 14, 22,
35, 56, 90, 145, 234, 378, 611, 988, 1598, 2585, 4182, 6766, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;Está publicada en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A001611&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;https://oeis.org/A001611&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;En esa página destacan que
tres elementos pueden formar triángulo, porque cada uno es menor que la suma de
los dos anteriores y mayor que su diferencia. También se afirma que los únicos
números primos presentes son el 2 y el 3. Podemos añadir algo más:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Entre los primeros términos
sólo hay tres cuadrados: 1, 4 y 9.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;for(n=0,2000,a=fibonacci(n)+1;if(issquare(a),print1(a,&quot;,
&quot;)))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;1, 4, 9, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Aparecen cuatro triangulares
(observa el código, que se basa en que 8T+1 es cuadrado):&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;?
for(n=0,2000,a=fibonacci(n)+1;if(issquare(8*a+1),print1(a,&quot;, &quot;)))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;1, 3, 6, 378, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;También contamos con oblongos
(tipo N(N+1)):&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;?
for(n=0,2000,a=fibonacci(n)+1;if(issquare(4*a+1),print1(a,&quot;, &quot;)))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;2, 2, 6, 56, 90, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;span style=&quot;color: #0c343d;&quot;&gt;Fibonacci menos una unidad&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Con la experiencia adquirida
todo es más fácil, y me limitaré a resultados:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;? for(n=1,30,a=fibonacci(n)-1;print1(a,&quot;,
&quot;))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;0, 0, 1, 2, 4, 7, 12, 20, 33,
54, 88, 143, 232, 376, 609, 986, 1596, 2583, 4180, 6764, 10945, 17710, 28656,
46367, 75024, 121392, 196417, 317810, 514228, 832039, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;Publicada en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A000071&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;https://oeis.org/A000071&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;,
donde se desarrollan múltiples propiedades.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Los únicos primos presentes
entre los primeros son 2 y 7:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;?
for(n=1,3000,a=fibonacci(n)-1;if(isprime(a),print1(a,&quot;, &quot;)))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;2, 7, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Cuadrados sólo aparecen 0, 1 y
4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Triangulares 0, 1 y 1596&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Oblongos 0, 2, 12 y 20.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Hasta aquí llega el recorrido
de este tema. El resto se lo dejo a quien me lea.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/1852629835642766776/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/1852629835642766776' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/1852629835642766776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/1852629835642766776'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/01/por-una-unidad-no-son-de-fibonacci-2.html' title='Por una unidad, no son de Fibonacci (2)'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEjaNktZGAV2OdFfHOw92MyavvDhCwcu84hxuK9zn2xLMMujVClh6CJdTbTJdmKjXXfEoG7M4621MCs0tzgxIUNIjFm8f7AWHFYzEI9BmUjLMdliA6n8_ficd9eilQeQWaG99_wSLMSoTo3mQJf_2RkyLodEC8QJx3CQ0fmK7HaAjBBsoITSGnfHDtqpKJo=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-6273147071945355493</id><published>2026-01-16T16:00:00.001+01:00</published><updated>2026-01-16T16:00:00.122+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Algoritmos"/><category scheme="http://www.blogger.com/atom/ns#" term="Búsquedas"/><category scheme="http://www.blogger.com/atom/ns#" term="Curiosidades"/><title type='text'>Por una unidad, no son de Fibonacci (1)</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;La sucesión de Fibonacci,
definida como a(1) = 1, a(2) = 1, a(n) = a(n-1) + a(n-2), da lugar a otras
muchas sucesiones que mantienen básicamente la misma fórmula de recurrencia o
bien cambian las condiciones iniciales. Hoy nos vamos a dedicar a estudiar
aquellas sucesiones definidas mediante a(n)=a(n-1) + a(n-2) ± 1. Respecto a las
condiciones iniciales, elegiré aquellas que estén publicadas o alguna otra que
sea afín, porque el objetivo no es descubrir ada nnuevo, sino practicar con las
herramientas que suelo usar y explicar lo que se descubra.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Una unidad más&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;En primer lugar, estudiaré
a(n) = a(n-1) + a(n-2) + 1, con a(1) = 0 y a(2) = 2&lt;span style=&quot;color: black; mso-themecolor: text1;&quot;&gt;. (Ver &lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;https://oeis.org/A001610&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; line-height: 115%; mso-themecolor: text1;&quot;&gt;https://oeis.org/A001610&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; line-height: 115%; mso-themecolor: text1;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Con una hoja de cálculo se
construyen perfectamente las sucesiones definidas por recurrencia. Escribimos
a(1), en la celda de abajo a(2), y en las siguientes la fórmula de recurrencia.
No hay más dificultad. Es conveniente situar a su izquierda una columna de
índices. Por ejemplo, en este caso obtendríamos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO9he2FUJrsB_hKCk4PSRX9cloWxBTBHsbxbCEKmOZjEKMFA7iGMlablEILUcQ6iwNwiZATyqk3B1-jQHl0uW9alboFV8k826A19ceK9HNy_4XMsFcHgmjvspyLFNzVBvmb-zjWIsgFEaHh2nFkduZQCWcd3N7gaO9HbHOruJtTcH9oSoLpVm2iAp1PPI/s268/fib1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;268&quot; data-original-width=&quot;203&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO9he2FUJrsB_hKCk4PSRX9cloWxBTBHsbxbCEKmOZjEKMFA7iGMlablEILUcQ6iwNwiZATyqk3B1-jQHl0uW9alboFV8k826A19ceK9HNy_4XMsFcHgmjvspyLFNzVBvmb-zjWIsgFEaHh2nFkduZQCWcd3N7gaO9HbHOruJtTcH9oSoLpVm2iAp1PPI/s16000/fib1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;Coinciden los términos con los publicados en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A001610&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;https://oeis.org/A001610&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;0, 2, 3, 6, 10, 17, 28, 46,
75, 122, 198, 321, 520, 842, 1363, 2206, 3570, 5777, 9348, 15126, 24475, 39602,
64078, 103681, 167760, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;span style=&quot;color: #0c343d;&quot;&gt;Recurrencia lineal no
homogénea&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Si deseamos profundizar algo
más sobre esta sucesión es conveniente tratarla como recurrencia no homogénea.
En estos casos se suele resolver la homogénea y después tratar aparte el sumando
no lineal, que aquí sería el 1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; line-height: 115%; mso-themecolor: text1;&quot;&gt;La parte homogénea se resuelve mediante la ecuación característica. La
base teórica la tienes en cualquier texto o página web, como&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; line-height: 115%; mso-themecolor: text1;&quot;&gt;&lt;/span&gt;&lt;a href=&quot;https://es.wikipedia.org/wiki/Relaci%C3%B3n_de_recurrencia&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; line-height: 115%; mso-themecolor: text1;&quot;&gt;https://es.wikipedia.org/wiki/Relaci%C3%B3n_de_recurrencia&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; line-height: 115%; mso-themecolor: text1;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; line-height: 115%; mso-themecolor: text1;&quot;&gt;Poseo una herramienta descargable para resolver estas ecuaciones con las
limitaciones propias de una hoja de cálculo&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; line-height: 115%; mso-themecolor: text1;&quot;&gt;&amp;nbsp;(&lt;/span&gt;&lt;a href=&quot;https://www.hojamat.es/sindecimales/aritmetica/herramientas/herrarit.htm#recurre2&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; line-height: 115%; mso-themecolor: text1;&quot;&gt;https://www.hojamat.es/sindecimales/aritmetica/herramientas/herrarit.htm#recurre2&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; line-height: 115%; mso-themecolor: text1;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit; line-height: 115%; mso-themecolor: text1;&quot;&gt;Le suministro los datos de la parte homogénea del problema, que aquí
sería la de números de Fibonacci con las condiciones iniciales 0 y 2.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0nmmDqxReUOspyzrzr0rb6bpv1J5jMaVAielbKtA9890x_Uiv0gwMKn8MQQxgqcbQryWjwziEGOmWKgffip7Y5XcKqgJBTzKyEp-IR6nwkE6HGQ59_qsd89dk0trb0r0_geUC0yLr7c5G8Jf5fCudCa-n27Y89koLkFlPvB7TSh9ifzeVL_vFDiOxciw/s362/fib2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;110&quot; data-original-width=&quot;362&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0nmmDqxReUOspyzrzr0rb6bpv1J5jMaVAielbKtA9890x_Uiv0gwMKn8MQQxgqcbQryWjwziEGOmWKgffip7Y5XcKqgJBTzKyEp-IR6nwkE6HGQ59_qsd89dk0trb0r0_geUC0yLr7c5G8Jf5fCudCa-n27Y89koLkFlPvB7TSh9ifzeVL_vFDiOxciw/s16000/fib2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Pulso el botón &lt;b&gt;Resolver&lt;/b&gt;
para ver la ecuación característica:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;Imagen_x0020_2&quot; o:spid=&quot;_x0000_i1026&quot;
 type=&quot;#_x0000_t75&quot; alt=&quot;Interfaz de usuario gráfica, Texto, Aplicación&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto.&quot;
 style=&#39;width:248pt;height:186pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png&quot;
  o:title=&quot;Interfaz de usuario gráfica, Texto, Aplicación&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img alt=&quot;Interfaz de usuario gráfica, Texto, Aplicación

El contenido generado por IA puede ser incorrecto.&quot; border=&quot;0&quot; height=&quot;248&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgK8R4a4WRpvlc-KUMwJ2nebhUQUv7mbloJZwVMohU6bjrV8D7IkHqTDlGvL6E9BTCSfOKP90t1Io-JU-yAC6sweVqFbC1AzymHzhgeI4Jd3S6f44OhP2tmzTmfU8Jqx7ylybqFdM4f5ra0JBM-pbKl5nHGUE1uWWQkPO8n1DTa3FuyoRZY870CJoiLlhQ&quot; v:shapes=&quot;Imagen_x0020_2&quot; width=&quot;331&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;La hoja de cálculo no es
simbólica, por lo que hay que saber interpretar estos coeficientes en función
del número áureo o de la raíz cuadrada de 5:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Aparecen dos soluciones
reales, que dan lugar a la expresión de más abajo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Sería: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOlp61X0kac1bvfBajgMBF5ASmtSAT8La5ei-907OvgT9yycuV3T5e7WySNPXvUSd98ZSMc-1pnhW1ic9SSItrj2LDqZ0lBPDpc4kJgeyAm8xEeou1w_dKv6TDkJe29wUfrYt0PJIE-JakFr7YUbjBkBWEDtcGIpTRf-atPS4mpP1TEdLEVW5QxOnZbtE/s500/fib3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;65&quot; data-original-width=&quot;500&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOlp61X0kac1bvfBajgMBF5ASmtSAT8La5ei-907OvgT9yycuV3T5e7WySNPXvUSd98ZSMc-1pnhW1ic9SSItrj2LDqZ0lBPDpc4kJgeyAm8xEeou1w_dKv6TDkJe29wUfrYt0PJIE-JakFr7YUbjBkBWEDtcGIpTRf-atPS4mpP1TEdLEVW5QxOnZbtE/s16000/fib3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Esta fórmula daría lugar a la
parte homogénea, que nos da la sucesión que presenta la herramienta usada:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDkWLyW1_Sn6S5u0AeqXgjKJZvHnnwNXM9AOzZotnLOgHINB4STIWUmxeNuMyJLZAet2YaGkycv5ABZ3WvEEhUX9z-tO6b7tYcXdPX9gLlzxNJCUjgsBXprPZwx9bGMvqmOvhisl4WiIl4iPDdIl2r_MD-RrcPwEA8SH5-qiA9IEyhaUa4aH8jgpkNCFQ/s298/fib4.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;298&quot; data-original-width=&quot;49&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDkWLyW1_Sn6S5u0AeqXgjKJZvHnnwNXM9AOzZotnLOgHINB4STIWUmxeNuMyJLZAet2YaGkycv5ABZ3WvEEhUX9z-tO6b7tYcXdPX9gLlzxNJCUjgsBXprPZwx9bGMvqmOvhisl4WiIl4iPDdIl2r_MD-RrcPwEA8SH5-qiA9IEyhaUa4aH8jgpkNCFQ/s16000/fib4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;La parte no homogénea es un 1,
y según la teoría, habría que someterla a las mismas condiciones que la
homogénea, y después encontrar el coeficiente adecuado.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;En nuestro caso esta es la
situación:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Valores de la homogénea:&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;4&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;6&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;10&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;16&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;26&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;42&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Valores encontrados: &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;3&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;6 10&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;17&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;28&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;46 75&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Diferencias:&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;4&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;7&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;12&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;20 33&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Las diferencias equivalen a
los números de Fibonacci clásicos menos una unidad, y las soluciones de la
homogénea son el doble de los mismos de Fibonacci con un índice una unidad
menor. Con esta consideración nos liberamos de cálculos algebraicos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Así, la solución buscada por
recurrencia se puede expresar de esta forma, que da el valor directamente:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;A(n)=2*F(n-1)+F(n)-1=F(n+1)+F(n-1)-1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Podríamos expresarlo en
función de la raíz de 5 en una fórmula demasiado larga. Es preferible expresarla
usando la función FIBONACCI(N). Así se puede encontrar con PARI:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; lang=&quot;EN-GB&quot; style=&quot;line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;for(i=1,40,a=2*fibonacci(i-1)+fibonacci(i)-1;print1(a,&quot;,
&quot;))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; line-height: 115%; mso-themecolor: text1;&quot;&gt;La web de PARI (&lt;/span&gt;&lt;a href=&quot;https://pari.math.u-bordeaux.fr/gpwasm.html&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; line-height: 115%; mso-themecolor: text1;&quot;&gt;https://pari.math.u-bordeaux.fr/gpwasm.html&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: black; line-height: 115%; mso-themecolor: text1;&quot;&gt;), nos ofrece las mismas soluciones que las
publicadas en OEIS, que en las fórmulas incluyen F(n+2)+F(n)-1, porque suelen
usar el 0 como primer índice. En la programación en PARI, &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;i&gt;G. C. Greubel&lt;/i&gt; usa una expresión similar
a la obtenida aquí.&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;0, 2, 3, 6, 10, 17, 28, 46,
75, 122, 198, 321, 520, 842, 1363, 2206, 3570, 5777, 9348, 15126, 24475, 39602,
64078, 103681, 167760, 271442, 439203, 710646, 1149850, 1860497, 3010348,
4870846, 7881195, 12752042, 20633238, 33385281, 54018520, 87403802, 141422323,
228826126, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Se descubren varios números
primos en el listado. Podemos modificar nuestra búsqueda para encontrarlos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;for(i=1,100,a=2*fibonacci(i-1)+fibonacci(i)-1;if(isprime(a),print1(a,&quot;,
&quot;)))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Estos serían los primeros
números primos:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;2, 3, 17, 103681, 10749957121,
115561578124838522881&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;No he encontrado cuadrados,
pero si se encuentran números que son una potencia más una unidad:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;10, 17, 28, 122, 842, 5777,
39602, 271442, 1860497, 12752042, 87403802, …&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Este ha sido un estudio que
abre caminos a otras técnicas matemáticas. Es sólo un inicio para quienes
deseen profundizar. En la siguiente entrada se completará con algún caso más.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/6273147071945355493/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/6273147071945355493' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/6273147071945355493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/6273147071945355493'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/01/por-una-unidad-no-son-de-fibonacci-1.html' title='Por una unidad, no son de Fibonacci (1)'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO9he2FUJrsB_hKCk4PSRX9cloWxBTBHsbxbCEKmOZjEKMFA7iGMlablEILUcQ6iwNwiZATyqk3B1-jQHl0uW9alboFV8k826A19ceK9HNy_4XMsFcHgmjvspyLFNzVBvmb-zjWIsgFEaHh2nFkduZQCWcd3N7gaO9HbHOruJtTcH9oSoLpVm2iAp1PPI/s72-c/fib1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-2599829873015154919</id><published>2026-01-02T13:00:00.001+01:00</published><updated>2026-01-02T13:00:00.121+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Curiosidades"/><category scheme="http://www.blogger.com/atom/ns#" term="cálculo"/><category scheme="http://www.blogger.com/atom/ns#" term="Propiedades"/><title type='text'>Propiedades del 2026</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;font-family: inherit;&quot;&gt;No todos los años publico las propiedades de un año nuevo,
porque lo hago en otros medios, pero en este los he terminado ya de compartir,
por lo que no viene mal recogerlos aquí. Los números de orden se corresponden
con los conjuntos de propiedades publicados cada día. Feliz año nuevo.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 es un número semiprimo, pues 2026=2×1013 y es del tipo
n&lt;sup&gt;2&lt;/sup&gt;+1, ya que 2026=45&lt;sup&gt;2&lt;/sup&gt;+1. Es el semiprimo número 582 en el
orden natural. Si le suprimimos cualquier cifra, sigue siendo semiprimo: 026=2×13,
226=2×113, 206=2×103 y 202=2×101&lt;br /&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026, aunque se diferencia en 1 del cuadrado 45&lt;/span&gt;&lt;sup style=&quot;font-family: inherit;&quot;&gt;2&lt;/sup&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;, sus cuadrados se diferencian en un número
primo:&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026&lt;sup&gt;2&lt;/sup&gt;-45&lt;sup&gt;4&lt;/sup&gt;=4104676-4100625=4051, que es
primo.&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Una escala de cifras ascendente y otra descendente para
2026:&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=1×2×(34×5×6-7)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=9×(8+7+6+54)×3+2-1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2)&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 es capicúa en tres bases de numeración, 13, 14 y 45: &lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 (10 = 11, 12, 11 (13 = 10, 4, 10 (14 = 1, 0, 1 (45&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Y concatena N//N+6: 2026=20//26&lt;br /&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Una curiosidad:&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=INT(LN(5)^16)&lt;br /&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 se puede formar de estas dos formas con los primeros
números primos:&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=(2+3!+5)×7×(11+13)-(17+19+23+29+31)-37+41-43&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=2×((3+5)×(7+11+13)×17-19-23-29×(31+37+41))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;3)&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 es el promedio de dos semiprimos consecutivos con él: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=2×1013=(2021+2031)/2=(43×47+3×677)/2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;También es promedio de dos anteriores y dos posteriores:
2019, 2021, 2031 y 2033&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En el año 2026 no podían faltar las cifras simétricas:&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=2×(1×1001+12)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=(3-1)×(0+1)×1013&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=2021+1+2+0+2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=1×2×(505+3+505)×(2-1)&lt;br /&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 presenta, entre otras, estas sumas de consecutivos:&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Compuestos:
2026&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;=505+506+507+508&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Enteros:
2026=505+506+507+508&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Semiprimos:
2026=237+247+249+253+254+259+262+265&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Pares:
2026=1012+1014&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;4)&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;La suma de las funciones SIGMA y PHI en 2026 coincide con la
de 2027&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 35.4pt; text-indent: 35.4pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; 2026&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;2027&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;SIGMA&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;3042&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;2028&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;PHI&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1012&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;2026&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;SUMA&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;4054&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;4054&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;SIGMA es la suma de divisores y PHI cuenta los coprimos
menores que el número.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 presenta estas dos generaciones mediante factoriales:&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=2!×(6!+(5!+4!)×2!+2!)+3!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=(6!×2!+2!)×2!-6!-4!-5!+3!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 es diferencia entre dos números triangulares (tipo
N(N+1)/2):&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=508×509/2-504×505/2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;5)&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Las funciones PHI y SIGMA que vimos ayer, cumplen en 2026 lo
siguiente:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;PHI(PHI(2026)+SIGMA(2026))=PHI(1012+3042)=PHI(4054)=2026&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 no es un número intocable, porque equivale a la suma de
las partes alícuotas de 2366: 2026=1183+338+182+169+ 91+26+14+13+7+2+1&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;(ver &lt;a href=&quot;https://hojaynumeros.blogspot.com/2022/05/regresos-3-numeros-intocables.html&quot;&gt;https://hojaynumeros.blogspot.com/2022/05/regresos-3-numeros-intocables.html&lt;/a&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;También lo es de 2510 y 2692.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 equivale a sumas de tres potencias con algún alto
exponente:&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=35^2+2^9+17^2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=37^2+23^2+2^7&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=37^2+23^2+2^7&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=37^2+5^4+2^5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=43^2+2^7+7^2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;6)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 equivale a nueve sumas de siete cubos cada una:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1+1+27+27+512+729+729&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;8+27+64+343+343+512+729&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;8+64+64+216+216+729+729&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1+1+8+8+8+1000+1000&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1+8+8+64+216+729+1000&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1+125+125+216+216+343+1000&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;8+27+216+216+216+343+1000&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1+27+27+64+64+512+1331&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1+1+8+8+64+216+1728&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026
equivale a estas expresiones palindrómicas:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=2×3×3×7×7+262+7×7×3×3×2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=2+8+2+2002+2+8+2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=5+12×8×21+5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=2×3×2+2002+2×3×2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=3×5×3+22×4×22+3×5×3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=131+12×7×21+131&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Y ahora, pandigitales con resultado 2026:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=(1024-8-3)×(9-7)×(6-5)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=3+7×(6+5+4+2)×(8+9)×(1+0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=4×3×(8+5)×(6+7)-2×1+9×0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;7)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Hoy me dedicaré a los desarrollos de una sola cifra para
2026, comenzando del 1 al 3:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=(1111-111+11+1+1)×(1+1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=(2×22+2)×2×22+2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=(3×3^3+3-3×3)×3^3+3/3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 expresado con monocifras de 4, 5 y 6:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=(4+4)×(4^4)-4!+(4+4)/4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=(5!+5+5+5)×(5+5+5)+5/5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=6!+6!+6!-66-66-(6+6)/6&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Por último, las cifras 7, 8 y 9 generan el 2026&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=(7!-77+7)/7+777+77×7&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=8!/(8+8)-8×8×8+8+8+(8+8)/8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=((999+9)×(9+9)+9)/9+9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;8)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 se
genera con la siguiente recurrencia:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;a(0)=a(1)=0,
a(2)=2; y para n &amp;gt;= 3, a(n) = a(n-1) + 4×a(n-3)&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Visto en
https://oeis.org/A122946&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Comprobado
con una columna de Excel.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 es
un número feliz, porque reiterando la suma de los cuadrados de sus cifras se
llega a la unidad:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2^2+0^2+2^2+6^2=44&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;4^2+4^2=32&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;3^2+2^2=13&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1^2+3^2=10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1^2+0^2=1&lt;span style=&quot;mso-tab-count: 5;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 es hipotenusa de una terna pitagórica y cateto en otra.
Este segundo ha costado encontrarlo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Como hipotenusa:&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;2026^2=90^2+2024^2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Como cateto: 2026^2=1026170^2-1026168^2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;9)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Visto en https://oeis.org/A350130:&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si a 2026 le aplicamos la función X^2+1 reiteradamente seis
veces resulta otro número terminado en 2026&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Lo he comprobado con PARI, pero no cabe aquí.&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Como tantos números, 2026 también participa en una igualdad
entre fracciones egipcias:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1/2026=1/2022-1/1024143&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 se puede expresar con tres cuadrados con signo. Estas
son algunas posibilidades:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=11^2+193^2-188^2&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=9^2+197^2-192^2&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=154^2-9^2-147^2&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=150^2-5^2-143^2&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=117^2+1^2-108^2&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;mso-tab-count: 5;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;10)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 es divisor del número de Fibonacci de orden 2028. Posee
muchas cifras. Se puede comprobar en PARI con el código&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;k=fibonacci(2028)/2026&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;print(k-truncate(k))&lt;/span&gt;&lt;/i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Resultará
un cero.&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 es promedio de dos cuadrados&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=(44^2+46^2)/2&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;O bien 2026=44^2+44×2+2&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Y también 2026=22×44+23×46&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 es suma de cinco elementos de la sucesión de
Fibonacci:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;2026=F(17)+F(14)+F(9)+F(7)+F(5)=1597+377+34+13+5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;11)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 es la suma de los cuadrados de los primeros números
libres de cuadrados, desde 1 hasta 21:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=1^2+2^2+3^2+5^2+6^2+7^2+10^2+…19^2+21^2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 &lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;es suma de los
cuadrados de dos números triangulares:&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=T(1)^2+T(9)^2=(1×2/2)^2+(9×10/2)^2&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 equivale sumas de cuadrados con primos y también con
capicúas&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=3^2+2017=15^2+1801=27^2+1297=33^2+937&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=39^2+505=42^2+262=45^2+1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;12)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026 es suma del número primo de orden 215 con el semiprimo
que tiene el mismo orden&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=PRIMO(215)+SEMIPRIMO(215)=1319+707=1319+7×101&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;No ha sido fácil encontrarlos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Todo número es suma, a lo más, de tres números triangulares.
En el caso del 2026 pueden ser:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=10+2016=595+1431=1+990+1035=3+253+1770=6+190+1830&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Según el teorema de Javier Cilleruelo, todo número es suma
de tres capicúas o menos. En el 2026 he elegido una pequeña muestra:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2026=8+1221+797=9+686+1331=9+1331+686=11+464+1551=11+1551+464=22+343+1661&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con ellos termina mi bienvenida al 2026.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/2599829873015154919/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/2599829873015154919' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/2599829873015154919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/2599829873015154919'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2026/01/propiedades-del-2026.html' title='Propiedades del 2026'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-5737346541800645753</id><published>2025-12-22T18:07:00.001+01:00</published><updated>2025-12-22T18:07:00.114+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Divisibilidad"/><category scheme="http://www.blogger.com/atom/ns#" term="Propiedades"/><category scheme="http://www.blogger.com/atom/ns#" term="Teoría"/><title type='text'> Divisorial</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Llamaremos &lt;i&gt;divisorial&lt;/i&gt; de
un número al producto de sus divisores, (según OEIS WIKI, sin revisar). Su
cálculo es muy sencillo, porque los divisores de N se presentan por pares cuyo
producto es N. Por ejemplo, en 45 se da que 45*1=15*3=9*5=45. El producto
total, o divisorial, será 45^3=91125.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si TAU(N) es el número de sus
divisores, se tendrá que el número de pares será TAU(N)/2 si TAU es par y
(TAU(N)+1)/2 si es impar, porque este último caso se dará en los cuadrados, y
la RAIZ(N) se contaría repetida. Por ejemplo, el divisorial de 36 será 36*18*12*9*6*4*3*2*1=10077696,
pero si lo ordenamos por pares, la raíz cuadrada estaría repetida:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS1gMj5QGycaaVKwX0cTLdkPFFYY7m8eTaaGrmP49pbo-2WxBRsHwkTJDmxqzIEuFWnnqDhe66_H6omW3sf480GH5i3K_3s6HeEIfvVXhFm5DFUz_fi5wu2cfslyI_cUJcjatmEtIialSnRV_uBSPodxKXStr9tmBzEHIaYfKMV-YM9xpeFQaQOvuQz4M/s135/div1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;131&quot; data-original-width=&quot;135&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS1gMj5QGycaaVKwX0cTLdkPFFYY7m8eTaaGrmP49pbo-2WxBRsHwkTJDmxqzIEuFWnnqDhe66_H6omW3sf480GH5i3K_3s6HeEIfvVXhFm5DFUz_fi5wu2cfslyI_cUJcjatmEtIialSnRV_uBSPodxKXStr9tmBzEHIaYfKMV-YM9xpeFQaQOvuQz4M/s16000/div1.png&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Nos resultaría un producto seis
veces mayor. Habría que suprimir el 6 sobrante, con lo que resultaría ese 6
multiplicado por los pares restantes, que forman TAU(N). Tendríamos
6*36*36*36*36=36&lt;sup&gt;9/2&lt;o:p&gt;&lt;/o:p&gt;&lt;/sup&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Por tanto, en el caso par y en
el caso impar la fórmula adecuada es&lt;br /&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDGglI0dgCIgEWxNqlIAvGgMZGa7EFQ2ZoeCKvJpNWXymQ6JuCLWeRKccr3vbT_gtsRwmkcuFdqSoV0XLjWO-LGg_-FPBn2NhmjIp-78LU-_RcZS-EtwGzdkk0xVx0l9mFTP6iu1OA-OSrZXejx6sSo7OwCdEGEA-KKaB1gLG4rH4pym9aB3SIyfZdpQA/s1229/div2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;258&quot; data-original-width=&quot;1229&quot; height=&quot;42&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDGglI0dgCIgEWxNqlIAvGgMZGa7EFQ2ZoeCKvJpNWXymQ6JuCLWeRKccr3vbT_gtsRwmkcuFdqSoV0XLjWO-LGg_-FPBn2NhmjIp-78LU-_RcZS-EtwGzdkk0xVx0l9mFTP6iu1OA-OSrZXejx6sSo7OwCdEGEA-KKaB1gLG4rH4pym9aB3SIyfZdpQA/w200-h42/div2.png&quot; width=&quot;200&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Hemos seguido la nomenclatura usual
de π(n) para el divisorial.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En el caso de 45 nos daría 45&lt;sup&gt;6/2&lt;/sup&gt;=45&lt;sup&gt;3&lt;/sup&gt;=91125&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En el caso de 36 existen 9
divisores, luego tendríamos 36&lt;sup&gt;9/2&lt;/sup&gt;= 10077696.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Los resultados del divisorial no
se repiten, es decir, a números distintos les corresponden divisoriales
distintos (ver la demostración de T.D. Noe en&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;http://www.sspectra.com/math/DivisorProduct.pdf&quot;&gt;http://www.sspectra.com/math/DivisorProduct.pdf&lt;/a&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Encontrar π(n) sin usar la
función TAU es muy simple. Basta recorrer los números menores o iguales a N y
multiplicar tan solo los divisores. En la práctica solo hay que llegar a N/2 y
después multiplicar por N. En Visual Basic puede quedar así:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-GB;&quot;&gt;Function proddivi(n)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-GB;&quot;&gt;Dim p, i&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-GB;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;p
= n ‘&lt;/i&gt;&lt;/b&gt;Comenzamos el producto con n&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-GB;&quot;&gt;For i = 2 To n / 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;If n / i = n \ i Then p = p * I ‘&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-ansi-language: EN-GB;&quot;&gt;Si es divisor, se multiplica&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-GB;&quot;&gt;Next i&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-GB;&quot;&gt;proddivi = p&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: inherit; mso-ansi-language: EN-GB;&quot;&gt;End Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con esta función podemos crear
la primera tabla de divisoriales:&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXSYPTBzlVN1QzhDqZ1uLR02SpXWFw39YaMS9Th0H5cNPtHB794Q66EBchS1ZP1DeBARH5XLIIwo2-fBgWf-Z7cM2CRyMxBCswrJPFsBTWekXJQF7OTfb1onbCEC3YkWE6R9hZ53veh4C8XRUOncFwRneGvhNfY4V4r0Uq0EWfOlm27XSyRYjfScaXxCQ/s309/div3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;309&quot; data-original-width=&quot;151&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXSYPTBzlVN1QzhDqZ1uLR02SpXWFw39YaMS9Th0H5cNPtHB794Q66EBchS1ZP1DeBARH5XLIIwo2-fBgWf-Z7cM2CRyMxBCswrJPFsBTWekXJQF7OTfb1onbCEC3YkWE6R9hZ53veh4C8XRUOncFwRneGvhNfY4V4r0Uq0EWfOlm27XSyRYjfScaXxCQ/s16000/div3.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Están publicados en &lt;a href=&quot;https://oeis.org/A007955&quot;&gt;https://oeis.org/A007955&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;En el lenguaje PARI está
implementada la función TAU con el nombre de &lt;/span&gt;&lt;i&gt;numdiv&lt;/i&gt;&lt;span&gt;, luego el divisorial
se puede encontrar con&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;π(n)=n^(numdiv(n)/2)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En la imagen se ha pedido el
valor de los 50 primeros:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;o:p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;img alt=&quot;Texto

El contenido generado por IA puede ser incorrecto.&quot; border=&quot;0&quot; height=&quot;71&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhcqRyg_fqav1GD1Zn61J0Gb19NTlEddnHAnnG0FsS9Wxf0H2NZG5rudj1XifFh9nM-j7QHkok46jURGF-vNlMQRMm3wLO2BoNHkzT9AwpK4eAi3qQM37ijsnCbfx3MFdeN4iDTJhI7nelwNqpJGBMyVH_wjWeJl8gh8dn_7AzZw6n4nV5ikr6UzVNn9aY&quot; v:shapes=&quot;Imagen_x0020_40&quot; width=&quot;567&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En color azul figura la
instrucción en PARI usada.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #660000; font-family: inherit;&quot;&gt;Casos particulares&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;N es primo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En ese caso TAU(N)=2, luego
π(n)=n&lt;sup&gt;2/2&lt;/sup&gt;=n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Es lógico, porque el único
producto de divisores es 1*n y el divisorial de n coincide con el número n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Potencia de primo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si N=p&lt;sup&gt;k&lt;/sup&gt;, TAU(N)=k+1,
porque los divisores serán (1, p, p&lt;sup&gt;2&lt;/sup&gt;, … p&lt;sup&gt;k&lt;/sup&gt;) , luego el
divisorial será p&lt;sup&gt;(k+1)/2&lt;/sup&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Entre ellos, los divisoriales de
cubos de primos serán cuadrados.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Semiprimo no cuadrado&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si N=p*q, con p≠q, poseerá cuatro
divisores, 1, p, q y pq, luego TAU(N)=4 y su producto de divisores π(n)=n&lt;sup&gt;4/2&lt;/sup&gt;=n&lt;sup&gt;2&lt;/sup&gt;.
Lo vemos en el listado anterior con 6 y 10.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Resultado cuadrado&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si el divisorial es una
potencia, encontraremos muchos de ellos que sean cuadrados. Ya hemos visto que
aparecen en los cubos de primos y en semiprimos no cuadrados, pero existen más.
Estos son los primeros:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;Imagen_x0020_1&quot;
 o:spid=&quot;_x0000_i1026&quot; type=&quot;#_x0000_t75&quot; alt=&quot;Tabla&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto.&quot;
 style=&#39;width:257pt;height:254.5pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png&quot;
  o:title=&quot;Tabla&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img alt=&quot;Tabla

El contenido generado por IA puede ser incorrecto.&quot; border=&quot;0&quot; height=&quot;339&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhPPs6Fa2KntZFiPpcTzW6kAXVF_6IVtRsKZ2GmV6u8k7FRVOlQX294DO18czMXsCD41dGdi9lY2Xk3VpyJC6Iqe8qJve90xQv0QyPt56G9QAq1t5sjbujqDgztzUSyA2AIh6b0wj6gc4BDEa1RAr6H16hKEk-YH8isZDLjUPAiqVbiP6OtWCjwjYY3rCY&quot; v:shapes=&quot;Imagen_x0020_1&quot; width=&quot;343&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Entre ellos están los &lt;i&gt;esfénicos&lt;/i&gt;,
números del tipo p*q*r con los tres primos distintos. En ellos los divisores
son: 1, p, q, r, pq, pr, rq y pqr, es decir ocho divisores, luego el producto
de divisores será una potencia cuarta, también cuadrada.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://oeis.org/A048943&quot;&gt;https://oeis.org/A048943&lt;/a&gt;
puedes consultar un razonamiento más completo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Resultado cúbico&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Es fácil razonar que las quintas
potencias de un primo poseen un divisorial que será un cubo, ya que π(n)=n&lt;sup&gt;(5+1)/2&lt;/sup&gt;=n&lt;sup&gt;3&lt;/sup&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;También producen un cubo los
números, como el 12, que tienen la forma pq&lt;sup&gt;2&lt;/sup&gt;, pues
TAU(n)=(1+1)(2+1)=6, luego π(n)=n&lt;sup&gt;6/2&lt;/sup&gt;=n&lt;sup&gt;3&lt;/sup&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Estos son los primeros:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;Imagen_x0020_2&quot;
 o:spid=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot; alt=&quot;Tabla&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto.&quot;
 style=&#39;width:258.5pt;height:198.5pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image011.png&quot;
  o:title=&quot;Tabla&amp;#10;&amp;#10;El contenido generado por IA puede ser incorrecto&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img alt=&quot;Tabla

El contenido generado por IA puede ser incorrecto.&quot; border=&quot;0&quot; height=&quot;265&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhoOpYB6uvZxznGlI7vuNDSrRuGpU0H-Mrz_qe2gOKo6eh2EOD2aGuQCAYMaUUmvc4rGySf1iXf0QZsU_Vrngra5nywFH6ammpmWD9ZeJ3wITj8k9f1MboB7DER8ERUcyI-hsQfkEBYzNxJP-IZKe0uHJxOUUV9CFnnLOnklEf1SKpk83w3CUXuvhXljFE&quot; v:shapes=&quot;Imagen_x0020_2&quot; width=&quot;345&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Puedes buscar más casos
particulares, que no serán compl&lt;/span&gt;icados de razonar.&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/5737346541800645753/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/5737346541800645753' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/5737346541800645753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/5737346541800645753'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2025/12/divisorial.html' title=' Divisorial'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS1gMj5QGycaaVKwX0cTLdkPFFYY7m8eTaaGrmP49pbo-2WxBRsHwkTJDmxqzIEuFWnnqDhe66_H6omW3sf480GH5i3K_3s6HeEIfvVXhFm5DFUz_fi5wu2cfslyI_cUJcjatmEtIialSnRV_uBSPodxKXStr9tmBzEHIaYfKMV-YM9xpeFQaQOvuQz4M/s72-c/div1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3219117272340648003.post-6070700839438534185</id><published>2025-12-11T18:26:00.001+01:00</published><updated>2025-12-11T18:26:00.129+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Búsquedas"/><category scheme="http://www.blogger.com/atom/ns#" term="Cifras"/><category scheme="http://www.blogger.com/atom/ns#" term="Curiosidades"/><title type='text'>Pandigitales inesperados</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;Hay varias acepciones de la
palabra &lt;/span&gt;&lt;i style=&quot;text-align: justify;&quot;&gt;pandigital&lt;/i&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;. Aquí nos referiremos a los pandigitales completos
sin repetición, es decir, que consideraremos pandigitales a aquellos números de
10 cifras en las que figuren todas del 0 al 9 en cualquier orden y sin repetir
ninguna. No se admite cero inicial. Excel lo suele suprimir, pero habrá que
tener cuidado en otros lenguajes de programación.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con esta definición es
sencillo calcular por Combinatoria cuantos pandigitales de este tipo puede
haber. Inténtalo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Función para detectar
pandigitales&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Para esta detección se crea un
vector de 10 elementos, ci(10), y en cada uno se cuentan las apariciones de una
cifra determinada del número. Para que sea pandigital, &lt;b&gt;todos los elementos
han de ser iguales a 1&lt;/b&gt;. En cualquier otro caso, no lo será.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Función pandigital&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Public Function pandigital(a) As Boolean&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&#39;han de estar todas las cifras sin repetición y sin cero
inicial&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;Dim ci(10)’ &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;Contenedor
de cifras&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim i&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim t As Boolean&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;t = True &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;‘En principio suponemos
que es pandigital&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;n = numcifras(a&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;) ‘Se
puede conseguir también sumando 1 a su logaritmo decimal&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;If n &amp;lt;&amp;gt; 10 Then pandigital = False: Exit
Function &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;‘No tiene diez cifras&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;For i = 0 To 9:
ci(i) = 0: Next I &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;‘Contadores
a cero&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;For i = 1 To n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;ci(cifra(a, i)) = ci(cifra(a, i)) + 1’ &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;Se
cargan las cifras encontradas&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;If ci(cifra(a, i)) &amp;gt; 1 Then pandigital =
False: Exit Function &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;‘Si hay repetidas, no es pandigital&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Next i&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;s = 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;For i = 0 To 9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;If ci(i) = 0 Then t = False &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;‘Si
falta una cifra, no es pandigital&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Next i&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;pandigital = &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;t
‘Devuelve VERDADERO o FALSO&lt;b&gt;&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;End Function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Resultados inesperados&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;La idea de hoy es buscar pandigitales en distintas
circunstancias u operaciones. Predominarán productos y potencias, como ejemplos
favorables a encontrar pandigitales, pero sólo serán ejemplos de uso para
facilitar a los lectores la búsqueda en otros casos similares. Se pueden
abordar muchos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Vemos algunos ejemplos con nuestro buscador:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;color: #0c343d; font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #0c343d;&quot;&gt;Multiplicar un número por otro relacionado&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A
partir de este ejemplo hay que tener en cuenta que los pandigitales están
comprendidos entre 10^9=1000000000 y 10^10=10000000000. Sería inútil buscar
fuera de este intervalo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Multiplicamos N por N+1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En este primer ejemplo, podemos comenzar la búsqueda por
RAIZ(10^9)-1, para que N(N+1) entre en ese intervalo. La salida puede ser
RAIZ(10^10)+1. Esto no es demasiado importante. Se puede ampliar algo el rango.
Nuestro buscador nos da 52 soluciones. Estas son las primeras:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigZs-nAhIArsCTAheJxd_QqKJkEthgrbL4y215o0FYaS67MZkV2L_NM7MsAwH9Sc7f1UFmeEpCI_qrsFCDpHXOB-lV-AHMrb3_ofVi7BQ0SVYOiQgVLGhuQDNme5hX8ZYmOTm2lZRf_wrxYTaO90HrZtLsRVanFuk6DN-aAPUmqUVxbnAHf22o0P40fBs/s401/pan1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;210&quot; data-original-width=&quot;401&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigZs-nAhIArsCTAheJxd_QqKJkEthgrbL4y215o0FYaS67MZkV2L_NM7MsAwH9Sc7f1UFmeEpCI_qrsFCDpHXOB-lV-AHMrb3_ofVi7BQ0SVYOiQgVLGhuQDNme5hX8ZYmOTm2lZRf_wrxYTaO90HrZtLsRVanFuk6DN-aAPUmqUVxbnAHf22o0P40fBs/s16000/pan1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape alt=&quot;Tabla

El contenido generado por IA puede ser incorrecto.&quot; id=&quot;_x0000_i1029&quot; style=&quot;height: 157.5pt; mso-wrap-style: square; visibility: visible; width: 301pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;Tabla

El contenido generado por IA puede ser incorrecto&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;No esperaba tantos resultados. Se ve que el producto de
consecutivos tiene características favorables. He probado con N(N+2) y resultan
34. Con N(N+3), 99. Como era de esperar, es algo que resulta aleatorio en la
práctica. Con otras diferencias se obtienen números similares.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Un número multiplicado por su doble produce resultados parecidos.
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #0c343d;&quot;&gt;Uso de potencias&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Cuadrado de N&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;Si lo reducimos a su cuadrado, es decir un número por sí
mismo, está publicado en &lt;/span&gt;&lt;a href=&quot;https://oeis.org/A054038&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;https://oeis.org/A054038&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt; con
otros planteamientos, pero coincide mi buscador para pandigitales sin
repetición, que resultan ser 87.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Estos son los primeros:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir3wktR_XeS3pzu2CzTd6cfu2IRyo50_XUEudJubjU15p_SD-pGHx3rR9S_GQ1_ALqKgVY0CF_zWFKG47AbFMasyJY0b6hnZOwVL1X4HaaBeilqzyPhxbK4RBTs4qDXwe3PT88ftWw-01Y0Ap5tCr0OGfWs0QqrP4Y4Wl8_09XeAJYyvpDe9o6tWei5wk/s286/pan2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;286&quot; data-original-width=&quot;254&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir3wktR_XeS3pzu2CzTd6cfu2IRyo50_XUEudJubjU15p_SD-pGHx3rR9S_GQ1_ALqKgVY0CF_zWFKG47AbFMasyJY0b6hnZOwVL1X4HaaBeilqzyPhxbK4RBTs4qDXwe3PT88ftWw-01Y0Ap5tCr0OGfWs0QqrP4Y4Wl8_09XeAJYyvpDe9o6tWei5wk/s16000/pan2.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Podíamos operar N con N&lt;sup&gt;2&lt;/sup&gt;,
a ver qué ocurre.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con suma aparecen bastantes
resultados. Uno es:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;40508+40508^2=1640938572&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con cubos no he obtenido
ningún pandigital.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Otras potencias&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Para las potencias es preferible usar el lenguaje PARI,
porque maneja las cifras con más soltura que Excel.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;El criterio para saber si un número es pandigital puede ser
este:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;vecsort(digits(n))==[0..9]&lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&amp;amp;&amp;amp;n&amp;gt;=10^9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Se interpreta fácilmente: se ordenan los dígitos de &lt;b&gt;n&lt;/b&gt;
en un vector y ha de coincidir con &lt;b&gt;[0..9]&lt;/b&gt;. Además, no puede tener cero
inicial, ha de ser mayor o igual que 10&lt;sup&gt;9&lt;/sup&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Con estas líneas de PARI
podemos investigar potencias. Están adaptadas a cuadrados para probar,
escribiendo k=2. Cambiando k se pueden investigar otras potencias.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;pandigital(n)=vecsort(digits(n))==[0..9]&amp;amp;&amp;amp;n&amp;gt;=10^9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;k=2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;a=truncate(10^(9/k))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;b=truncate(10^(10/k))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;for(i=a,b,m=i^k;if(pandigital(m),print(i,&quot;
, &quot;,m)))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Este es un recorte de pantalla
para k=2 en la web de PARI:&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghXj8qPMMIayvrdOWIS0oIuPPnUTPwaaIawnjFn2Hbozsh5z8LMhNwGqLSieDV7KPUbP-OvbkL3YrFFUWfY_bwWbni8DYWuZZ2bpQDTqeRqCWMqWvEa8Z3B9AbL3OBsvYUE3sBzDOUUVtIL4vPDRryWA52VgAuvvr-EAuvOQ1eofiVGCTSUBm7-GXk73o/s267/pan3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;267&quot; data-original-width=&quot;193&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghXj8qPMMIayvrdOWIS0oIuPPnUTPwaaIawnjFn2Hbozsh5z8LMhNwGqLSieDV7KPUbP-OvbkL3YrFFUWfY_bwWbni8DYWuZZ2bpQDTqeRqCWMqWvEa8Z3B9AbL3OBsvYUE3sBzDOUUVtIL4vPDRryWA52VgAuvvr-EAuvOQ1eofiVGCTSUBm7-GXk73o/s16000/pan3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Observamos que coincide con el
resultado de Excel.&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;No he encontrado pandigitales
en los exponentes del 3 al 10, pero nos ha servido para iniciar el uso de PARI.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Otras búsquedas&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Número por su simétrico en
cifras&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Aquí sí tendremos éxito. En
Excel uso mi función CIFRAINVER y en PARI mi función REVERSE. Elijo este porque
lo tengo desarrollado más brevemente. Podríamos usar lo siguiente:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;pandigital(n)=vecsort(digits(n))==[0..9]&amp;amp;&amp;amp;n&amp;gt;=10^9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;reverse(n)=eval(concat(Vecrev(Str(n))))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;a=2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;b=1000&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 10.0pt; mso-margin-top-alt: 0cm; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;for(i=a,b,m=i*reverse(i);if(pandigital(m),print(i,&quot;
, &quot;,m)))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Definimos &lt;/span&gt;&lt;i style=&quot;font-family: inherit;&quot;&gt;pandigital&lt;/i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; y &lt;/span&gt;&lt;i style=&quot;font-family: inherit;&quot;&gt;reverse&lt;/i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;
y después multiplicamos el número por su reverso:&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0FO8KVsS9lbDc9EiXLP1jvqy8WjemuUy_VeDCAJNbOY96iMPKKpcwkivSiEn1qnFn6AcQlWtyhGj4UuDaddosy_oBURj6KSkpdfkLBTvAY8KEZ979_oTuGKGUprpnjIWmXwtN7nfkUTJ07fTk58tAvPK8bFPm0Q8N4gy6d45l5Py9m-sn-YgsGv8cyww/s320/pan4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;320&quot; data-original-width=&quot;183&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0FO8KVsS9lbDc9EiXLP1jvqy8WjemuUy_VeDCAJNbOY96iMPKKpcwkivSiEn1qnFn6AcQlWtyhGj4UuDaddosy_oBURj6KSkpdfkLBTvAY8KEZ979_oTuGKGUprpnjIWmXwtN7nfkUTJ07fTk58tAvPK8bFPm0Q8N4gy6d45l5Py9m-sn-YgsGv8cyww/s16000/pan4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;v:shape alt=&quot;Texto

El contenido generado por IA puede ser incorrecto.&quot; id=&quot;Imagen_x0020_2&quot; o:spid=&quot;_x0000_i1027&quot; style=&quot;height: 240pt; mso-wrap-style: square; visibility: visible; width: 137pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;Texto

El contenido generado por IA puede ser incorrecto&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Si multiplicas cualquier
número de la primera columna por su simétrico, obtendrás el pandigital de la
segunda.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Otros ejemplos sin desarrollar&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Un número multiplicado por su
doble:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWw16gPyQw5W-ORDX6UIQZGNWOoY55klYZgUXqawMuh7jrnjQ_3EWusi5BShsziZD_dEA5u7e_33AJ_JQgbdmXT1HHRjaaAQ9PFyBOsw96YoHvIkWqFPXdZWM4XHcAcuhmwWS3RJrEuoqHkqiN24BH94fFwWs2HjjdFjL2yZx_mEBoN-DnBlYM0D952r4/s218/pan5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;218&quot; data-original-width=&quot;183&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWw16gPyQw5W-ORDX6UIQZGNWOoY55klYZgUXqawMuh7jrnjQ_3EWusi5BShsziZD_dEA5u7e_33AJ_JQgbdmXT1HHRjaaAQ9PFyBOsw96YoHvIkWqFPXdZWM4XHcAcuhmwWS3RJrEuoqHkqiN24BH94fFwWs2HjjdFjL2yZx_mEBoN-DnBlYM0D952r4/s16000/pan5.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;v:shape alt=&quot;Texto

El contenido generado por IA puede ser incorrecto.&quot; id=&quot;Imagen_x0020_3&quot; o:spid=&quot;_x0000_i1026&quot; style=&quot;height: 163.5pt; mso-wrap-style: square; visibility: visible; width: 137pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;Texto

El contenido generado por IA puede ser incorrecto&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Por ejemplo. 22887*45774=1047629538&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Cuadrado de N menos N&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIiiA_elO86cyqRit2ZNRj1g21b1i1QsJWagsb5n-R2CTaUE3ocvwYfKsZ4BAWLjtgK3shJoUAVE8RfGFSCz_K9fWshwFEt_2uynLQMZzYEP9ocV-8FtD0WERQvfSkdWAW6niaZQ0yYoCf0jHCr5TTrAfedr9hb5cGqPRe0YqCeZ-W8qz3KrI5Qy7Bq4k/s221/pan6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;221&quot; data-original-width=&quot;183&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIiiA_elO86cyqRit2ZNRj1g21b1i1QsJWagsb5n-R2CTaUE3ocvwYfKsZ4BAWLjtgK3shJoUAVE8RfGFSCz_K9fWshwFEt_2uynLQMZzYEP9ocV-8FtD0WERQvfSkdWAW6niaZQ0yYoCf0jHCr5TTrAfedr9hb5cGqPRe0YqCeZ-W8qz3KrI5Qy7Bq4k/s16000/pan6.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;v:shape alt=&quot;Imagen de la pantalla de un celular de un mensaje en letras blancas

El contenido generado por IA puede ser incorrecto.&quot; id=&quot;Imagen_x0020_4&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 166pt; mso-wrap-style: square; visibility: visible; width: 137pt;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;Imagen de la pantalla de un celular de un mensaje en letras blancas

El contenido generado por IA puede ser incorrecto&quot; src=&quot;file:///C:/Users/arold/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png&quot;&gt;
&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Así, 44028^2-44028=1938420756&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Todos terminarán en 0, 2 o 6.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Y hasta aquí llega el tema.
Quedan muchas posibilidades, e incluso eligiendo las primeras cifras de un
número real, pero aquí sólo se estudian los enteros.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Números y Hoja de Cálculo&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hojaynumeros.blogspot.com/feeds/6070700839438534185/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3219117272340648003/6070700839438534185' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/6070700839438534185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3219117272340648003/posts/default/6070700839438534185'/><link rel='alternate' type='text/html' href='http://hojaynumeros.blogspot.com/2025/12/pandigitales-inesperados.html' title='Pandigitales inesperados'/><author><name>Antonio Roldán Martínez</name><uri>http://www.blogger.com/profile/13014920786063435214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF2BP-40fEZeTxOPT_TQbJD-sxiQRYUrqqmfH-QOkXMN7SJ1KTJGwjoUUu8LcfphwcPsz_yCwzNWzh7uEuYY8wigimrYnxvcc2Uag-yUoimIzIYNZFoc26LYUOw9fGfA/s220/Venecia1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigZs-nAhIArsCTAheJxd_QqKJkEthgrbL4y215o0FYaS67MZkV2L_NM7MsAwH9Sc7f1UFmeEpCI_qrsFCDpHXOB-lV-AHMrb3_ofVi7BQ0SVYOiQgVLGhuQDNme5hX8ZYmOTm2lZRf_wrxYTaO90HrZtLsRVanFuk6DN-aAPUmqUVxbnAHf22o0P40fBs/s72-c/pan1.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>