Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

123
Views
¿Cómo codificar la secuencia OEIS completa A127824? VBA

Estoy codificando la secuencia como se describe en A127824 usando VBA. Estoy incorporando la lógica de un código Java en Java . mi código es:

 Sub A127824() Dim i, n, m n = 0 i = 0 Do While i <= 12 If n = 0 Then Debug.Print i, 1 n = n + 1 i = i + 1 GoTo x1 Else x1: If (n - 4) Mod 6 <> 0 Then Debug.Print i, 2 * n n = 2 * n i = i + 1 If i > 12 Then Exit Sub GoTo x1 Else If (n - 1) / 3 <> 1 Then Debug.Print i, (n - 1) / 3, 2 * n n = (n - 1) / 3 m = 2 * n i = i + 1 If i > 12 Then Exit Sub Else Debug.Print i, 2 * n n = 2 * n i = i + 1 If i > 12 Then Exit Sub GoTo x1: End If End If End If Loop End Sub

Pero mi tabla de salida es parcial en comparación con la tabla en el enlace OIES en "EJEMPLO".

Buscando ayuda para dar salida a los elementos que faltan. Creo que se necesita una recursión, pero no he podido resolverlo.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!