Fact-checked by Grok 2 weeks ago

Note G

Note G is a detailed explanatory note appended by to her 1843 translation of Luigi Menabrea's article on Charles Babbage's , in which she outlined an for computing Bernoulli numbers using the machine's operations, widely regarded as the world's first published . Lovelace's Note G, the longest of seven notes accompanying her translation published in Taylor's Scientific Memoirs, spans over 20 pages and demonstrates the Analytical Engine's potential to perform complex symbolic manipulations beyond mere numerical calculation. In it, she described a step-by-step process involving the engine's "operation cards" to calculate the value of the eighth (B8 = −1/30), employing difference tables and iterative subtractions to handle the computation efficiently on the hypothetical device's limited store of 1,000 numbers. The algorithm's significance lies in its foresight: Lovelace envisioned the Analytical Engine as a general-purpose device capable of manipulating symbols according to rules, a concept that anticipated modern software and programming. Although the was never built during Babbage's lifetime, Note G has been implemented in various programming languages and even simulated on modern hardware to verify its correctness, confirming that it correctly computes Bernoulli numbers, including the eighth (B8 = −1/30), when accounting for a minor typesetting error in the original publication. Beyond its technical content, Note G reflects Lovelace's interdisciplinary perspective, blending , , and to argue that machines could compose complex harmonies, influencing later thinkers on . This visionary work, authored when Lovelace was 27, cemented her legacy as a pioneer in , distinct from her more famous father, .

Historical Context

Ada Lovelace's Contributions

Augusta Ada Byron, Countess of Lovelace (1815–1852), was the only legitimate child of the poet and Annabella Milbanke, who ensured her daughter received a rigorous in mathematics and science to counterbalance her father's artistic influences. From an early age, Lovelace was tutored by prominent figures, including the mathematician and astronomer , who provided advanced texts, problems, and guidance that shaped her analytical skills and introduced her to contemporary scientific circles. Somerville's mentorship not only honed Lovelace's mathematical prowess but also connected her to innovators like , whose would later become central to her work. In 1843, Lovelace translated Luigi Menabrea's 1842 French article on Babbage's Analytical Engine from Bibliothèque Universelle de Genève into English for publication in Taylor's Scientific Memoirs. At Babbage's encouragement, she augmented the translation with a series of extensive explanatory notes (A through G), which exceeded the original article's length by approximately three times and provided deeper theoretical insights into the machine's operations. These notes, authored independently by Lovelace, transformed the publication into a foundational text on computing theory, emphasizing the Analytical Engine's versatility beyond mere calculation. Lovelace's notes articulated visionary concepts about the Analytical Engine's potential applications, foreseeing its use in creative and symbolic domains rather than numerical tasks alone. She proposed that the machine could manipulate non-numerical data, such as composing intricate pieces of by processing the relations of pitched sounds as mathematical series, or generating through algebraic patterns akin to those woven by a Jacquard loom. In Note A, she elaborated: "Supposing, for instance, that the fundamental relations of pitched sounds in the science of harmony and of were susceptible of such expression and arrangements, the engine might compose elaborate and scientific pieces of of any degree of complexity or extent." Within this framework, Lovelace's Note A detailed the Analytical Engine's division process, illustrating how it could eliminate variables from equations—such as resolving y from two fourth-degree polynomials—through organized coefficients, successive multiplications, and subtractions to yield precise results. Note G extended this foundational division method to address a mathematical problem, applying iterative algebraic substitutions and operations to demonstrate the Engine's capacity for handling multifaceted computations that required looping and conditional processes.

Charles Babbage's Analytical Engine

The Analytical Engine was conceived by Charles Babbage in 1837 as a more advanced successor to his earlier Difference Engine, aiming to create a general-purpose mechanical computing device capable of performing a wide range of calculations through programmable instructions. Unlike the Difference Engine, which was limited to specific tabular computations, the Analytical Engine incorporated programmable operations using punched cards for input, control flow, and output, drawing inspiration from the Jacquard loom's technology for automating weaving patterns. This design allowed for flexible sequencing of operations, marking a significant conceptual leap toward modern computing. At its core, the Analytical Engine featured two primary components: the , serving as the arithmetic processing unit capable of performing , , , and on numbers represented in base-10 arithmetic, and the , a unit designed to hold up to 1,000 numbers, each consisting of 50 decimal digits. The mill would fetch from and return results to the store via mechanical shafts and gears, enabling the manipulation of variables and intermediate results during computations. Additionally, the design included provisions for conditional branching, allowing the machine to alter its operation sequence based on computed results, which facilitated looping and decision-making in programs. Despite its innovative architecture, the was never fully constructed due to persistent funding shortages from the British government and formidable technical challenges in fabricating the estimated 50,000 precision parts required. Babbage produced detailed blueprints and partial prototypes by the time of his death in , but full realization remained hypothetical. These plans demonstrated the machine's potential for general-purpose computation, as later illustrated in Ada Lovelace's accompanying , which envisioned applications beyond numerical calculation.

Bernoulli Numbers

Bernoulli numbers are a sequence of rational numbers that arise in various areas of mathematics, particularly in and . Named after the Swiss mathematician (1654–1705), they were first introduced in his posthumously published work (1713), where they facilitated the computation of sums of powers of integers. These numbers are defined by the exponential generating function \frac{x}{e^x - 1} = \sum_{n=0}^\infty \frac{B_n x^n}{n!}, or equivalently through the recursive relation B_0 = 1 and \sum_{k=0}^{n} \binom{n+1}{k} B_k = 0 for n \geq 1, which can be rearranged to solve for B_n = -\frac{1}{n+1} \sum_{k=0}^{n-1} \binom{n+1}{k} B_k. The first few Bernoulli numbers are B_0 = 1, B_1 = -\frac{1}{2}, B_2 = \frac{1}{6}, B_3 = 0, B_4 = -\frac{1}{30}, B_5 = 0, B_6 = \frac{1}{42}, and B_7 = 0, with all odd-indexed terms vanishing for n > 1. They play a crucial role in calculus, appearing in the coefficients of the Taylor series expansion for the tangent function, such as \tan x = \sum_{n=1}^\infty \frac{(-1)^{n-1} 2^{2n} (2^{2n} - 1) |B_{2n}| }{ (2n)! } x^{2n-1} for |x| < \pi/2, and in the Euler-Maclaurin formula, which relates sums to integrals for numerical approximation: \sum_{k=a}^b f(k) = \int_a^b f(x) \, dx + \frac{f(a) + f(b)}{2} + \sum_{k=1}^m \frac{B_{2k}}{(2k)!} (f^{(2k-1)}(b) - f^{(2k-1)}(a)) + R, where R is a remainder term. Computing higher-order Bernoulli numbers manually becomes increasingly tedious due to the rapid growth of the binomial coefficients in the recursive formula, which amplifies errors and requires extensive arithmetic operations. This complexity made the calculation of Bernoulli numbers an ideal demonstration of automated computation's potential, as selected by Ada Lovelace to illustrate the Analytical Engine's ability to perform looping and conditional arithmetic beyond basic tabulation.

Development of the Algorithm

Origin and Inspiration

Ada Lovelace's Note G originated as part of her ambitious annotations accompanying the English of Luigi Menabrea's 1842 article, "Notions sur la machine analytique de ," which summarized Babbage's lectures on the delivered in in 1840. Menabrea, an Italian military engineer and mathematician, had published the piece in the October 1842 issue of Bibliothèque Universelle de Genève, providing one of the first detailed public accounts of Babbage's visionary machine. In early 1843, Babbage, seeking to promote his invention amid funding challenges, requested Lovelace—through mutual acquaintance —to translate and expand upon Menabrea's work for inclusion in Taylor's Scientific Memoirs. This commission ignited Lovelace's intellectual engagement, transforming a straightforward translation into a profound exploration of the Engine's theoretical possibilities. Note G, fully titled "Diagram for the computation by the Engine of the Numbers of ," served to demonstrate the Analytical 's aptitude for executing recursive and iterative calculations, surpassing basic arithmetic tabulation to tackle sophisticated analytical tasks. By selecting numbers—a central to involving iterative dependencies—as the computational target, Lovelace aimed to showcase the machine's versatility in handling complex, self-referential processes that had long challenged human calculators. Lovelace composed Note G in 1843 amid intensive collaboration with Babbage, involving dozens of letters and iterative drafts exchanged during the spring and summer at her home in Ockham Park. While Babbage provided technical insights and reviewed her work, the algorithm's innovative design and explanatory structure are credited to Lovelace, as evidenced by her assertive signing of the notes with her initials "A.A.L." in a July 1843 letter to him. Completed by August 1843 and published in September, these annotations reflected Lovelace's forward-thinking vision; she predicted the Engine could process symbols akin to , hinting at its potential to generate intricate compositions from harmonic relations and presaging modern symbolic computing.

Publication Details

Ada Lovelace's notes, including Note G, were published in September 1843 as part of her translation of Luigi Menabrea's article on Charles Babbage's in Taylor's Scientific Memoirs, Vol. III. The notes themselves exceeded 20,000 words, making them substantially longer than the original article they accompanied. Prior to publication, Lovelace sent drafts of the notes to Babbage for review, where he offered suggestions for revisions; however, she maintained creative control, particularly over the content and structure of Note G, which detailed an for computing numbers. The process encountered several editorial challenges, including a typesetter's error that misprinted Lovelace's initials as "A. L. L." rather than the correct "A. A. L." at the end of each note. Additionally, the complex diagrams accompanying Note G—such as the operation table and development chart—were hand-drawn by Lovelace and required careful reproduction by engravers. The initial reception of the publication was confined to a small, specialized interested in mechanical and , given the niche subject matter of the . Nonetheless, it garnered positive feedback from prominent contemporaries; for instance, praised the work in a letter to Babbage in 1843.

Technical Description

Notation System

In Note G, Ada Lovelace introduced a symbolic tailored to the Analytical Engine's architecture, enabling precise specification of arithmetic operations, data movements, and without relying on alone. This system bridges human-readable descriptions with the machine's punched-card programming mechanism, using compact symbols to represent the engine's (for ) and (for ). Variables are represented as V_r^c, where the subscript r denotes the specific store column or register (e.g., V_0 for the first column), and the superscript c signifies the operation cycle or iteration during which the variable's value is accessed or modified. This indexing allows tracking of evolving values across repeated steps, distinguishing initial data from intermediate results and final outputs in the store's columnar arrangement. Arithmetic operations are abbreviated with single letters: A for , S for , M for , and D for . These are paired with directives for store movements, such as entering a value from store column x into the or exiting a result back to a designated column, ensuring clear delineation between and access in the engine's cards. Lovelace illustrated the notation through diagrams akin to flowcharts, featuring sequentially numbered operations (1 through 13 in Note G) that interconnect instructions with transfers, providing a structured visual map of the computational sequence. The system incorporates looping via conditional jumps, where operation cards can redirect execution to prior steps based on states, allowing repetitions until a predefined condition holds—for instance, iterating to circumvent a . This mechanism highlights the notation's support for iterative processes essential to non-trivial algorithms.

Step-by-Step Method

The step-by-step method outlined in Note G computes the Bernoulli numbers iteratively up to B_7, beginning with the initialization B_0 = 1. The algorithm employs the recursive formula
B_n = -\sum_{k=0}^{n-1} \binom{n}{k} \frac{B_k}{n+1-k},
for n = 1 to $7, where each B_n is derived from previously computed lower-indexed values. This computation is executed via a series of operation cards directing the Analytical Engine's to perform in the , effectively looping over the k for each n.
The sequence begins with operations 1–3, which set up the coefficients \binom{n}{k} and initialize the running sum to zero for the current n. Operation 4 performs the core by n+1-k for each term. Operations 5–13 then accumulate the products \binom{n}{k} B_k / (n+1-k) into the sum and the intermediate and final results across designated columns in the engine's , enabling reuse for subsequent iterations. These steps repeat for each n, with the engine's variable cards managing data movement between the and to handle the growing complexity of terms. In pseudocode form, the method translates to:
for each n from 1 to 7:
    initialize sum s = 0;
    for k = 0 to n-1:
        compute term t = \binom{n}{k} \times B_k / (n + 1 - k);
        add t to s;
    set B_n = -s;
store B_n for future use. This structure leverages the Analytical Engine's capacity for repeated cycles, demonstrating its ability to manage multiple iterations without manual intervention.
The specifically targets B_7 as a challenging , requiring seven full iterations and extensive use of the store's columns to track and accumulate terms from all prior B_k, thereby illustrating the engine's potential for handling non-trivial recursive .

Programming Error

In Note G, the programming error occurs specifically in operation 4 of the 's table, where instructs the division of the accumulated sum by the variable representing n+1-k, but the terms are reversed, resulting in the computation of \frac{n+1-k}{B_k} instead of the intended \frac{B_k}{n+1-k}. This flaw in the step disrupts the recursive formula for numbers, as the relies on correctly scaling the previous B_k by the denominator to obtain the next term. The error leads to an incorrect result for B_7, yielding B_7 = -\frac{25621}{630} (approximately -40.67) rather than the correct value of -\frac{1}{30} (approximately -0.033). Although the recursion begins with known values and propagates the mistake from B_1, the discrepancy remains negligible for lower-order terms due to their small magnitudes and the nature of the iterative additions and multiplications, only becoming pronounced at B_7 where the accumulated inversion significantly amplifies the deviation. The cause of this error is likely a transcription oversight during the preparation of the diagram for publication in , possibly introduced in the process rather than in Lovelace's original conception of . This subtlety underscores the challenges of symbolic computation in early programming efforts, where a simple reversal in a single operation can evade detection until higher iterations reveal its impact.

Modern Analysis and Implementations

Translations to Contemporary Languages

In the late , historian and Allan G. Bromley conducted detailed walkthroughs of Note G as part of his analysis of Babbage's designs, simulating the algorithm's execution step-by-step to verify its functionality and reveal implementation details for historical study. These manual simulations highlighted the program's structure and operational flow, aiding in the understanding of 19th-century computational methods without modern hardware. The 21st century has seen numerous digital reimplementations of Note G to execute the algorithm on contemporary systems. For instance, Project Lovelace, launched in , offers a programming challenge in where participants translate Lovelace's operations into modern code, using recursive functions, loops for repetition, and variables to represent the Engine's registers and memory columns. Similarly, JavaScript implementations have emerged for interactive demonstrations, such as the emulator developed by John Walker, which allows users to load and run card sequences approximating Note G in a browser-based environment to visualize the computation process. Another example is a class-based emulation focused on Note G's recurrence relations for numbers, designed to showcase the algorithm's mechanics through executable demos. A key adaptation in these translations involves mapping the Analytical Engine's punched cards to procedural functions or loops in high-level languages, while operations—responsible for —are recast as direct expressions using built-in operators for , , , and . The store, which held variables across 40 columns of 50-digit numbers, is typically represented by arrays or lists to manage state changes, enabling efficient tracking of values like coefficients and during iteration. The original notation from Lovelace's diagram continues to influence code structure by emphasizing tabular tracking of variable states through each operation. Note that in Lovelace's notation, the target is the eighth number, referred to as B^7, equivalent to modern B_8 = -1/30. In 2018, the Two-Bit History project published a faithful C implementation of Note G that reproduces the algorithm's original programming error, executing the computation of the eighth Bernoulli number in a fraction of a second on modern hardware—contrasting sharply with the hypothetical execution time of hours on the Analytical Engine, given its mechanical limitations of roughly two to three minutes per complex multiplication and hundreds of operations required.

Error Corrections and Fixes

The error in Ada Lovelace's Note G algorithm for computing numbers was identified by Lovelace herself during the development of the , who requested an amendment from Babbage; it has been verified through meticulous manual tracing of the step-by-step operations as described in the original notes and modern implementations. The flaw arises from a in a key division operation within the iterative process for calculating successive numbers, where the operands are incorrectly swapped (e.g., v5 / v4 instead of v4 / v5), leading to an inaccurate result for higher-order terms. To correct this, the division must be reversed in the affected line; for instance, modern translations to programming languages such as require changing the computation from temp = denom / b_k to temp = b_k / denom to ensure proper fractional evaluation during the . This exemplifies the difficulties faced in mid-19th-century conceptual programming, where relied solely on human oversight without mechanical or software aids, underscoring the pioneering yet imperfect nature of Lovelace's work. With the fix applied, implementations in contemporary languages execute the full efficiently, yielding the correct value B_8 = -\frac{1}{30} in seconds on standard hardware. In educational contexts, Project Lovelace, launched in , presents interactive challenges for users to recreate and debug Note G, fostering understanding of historical computational errors and their resolutions through hands-on coding exercises.

Broader Relevance Today

Note G stands as a historical milestone in , widely recognized by historians as the first published intended for implementation, effectively predating the advent of modern electronic software by over a century. This program, designed for Charles Babbage's hypothetical , demonstrated the potential for machines to execute complex, iterative calculations beyond mere numerical tabulation, influencing the conceptual foundations of programmable computers. In contemporary education, Note G serves as a foundational example in curricula to teach core programming concepts such as , looping constructs, and rudimentary error handling in . For instance, undergraduate courses in and often assign recreations of to highlight the from to programming paradigms. Its study underscores the historical interplay between and , fostering appreciation for early visionary ideas in design. Despite its pioneering nature, Note G's design reflects the technological constraints of the , relying exclusively on base-10 decimal arithmetic without support for floating-point operations, which limited precision for non-integer results in calculations. In contrast, modern symbolic mathematics libraries like enable the computation of the same numbers up to the eighth order—the extent targeted in Note G—in mere milliseconds on standard , leveraging efficient algorithms and floating-point . The 2015 bicentennial of Ada Lovelace's birth prompted renewed scholarly analyses of Note G, emphasizing its prescient connection to through her foresight that machines could manipulate symbols according to rules, extending beyond numerical computation to broader processing. This vision, articulated in her notes, prefigured key aspects of modern systems capable of reasoning and .

References

  1. [1]
    Ada Lovelace's Note G
    Ada Lovelace (1815-1852) was an English mathematician who was the first person to realize that computers could be much more than big calculators.
  2. [2]
    Ada Lovelace's Endnotes Foretold the Future of Computation
    Jun 4, 2024 · Many retrospectives focus on “Note G” because it contains the first published computer program. Lovelace's program calculates Bernoulli ...
  3. [3]
    What Did Ada Lovelace's Program Actually Do? - Two-Bit History
    Aug 18, 2018 · ... Lovelace demonstrated in Note A is one major reason that she is celebrated today. The other famous note is Note G. Lovelace begins Note G by ...
  4. [4]
    Ada Lovelace and the Analytical Engine - Bodleian Libraries blogs
    Jul 26, 2018 · 'Note G' is the culmination of Lovelace's paper, following many pages of detailed explanation of the operation of the Engine and the cards ...
  5. [5]
    How Ada Lovelace's notes on the Analytical Engine created the first ...
    Oct 12, 2020 · 'Note G' is the culmination of Lovelace's paper, following many pages of detailed explanation of the operation of the Engine and the cards ...
  6. [6]
    Ada Lovelace and the First Computer Algorithm
    Apr 10, 2025 · Ada Lovelace's Note-G algorithm was designed to be implemented on the Analytical Engine. The algorithm was part of her translation and expansion ...
  7. [7]
    Ada Lovelace | Babbage Engine - Computer History Museum
    The Analytical Engine weaves algebraic patterns just as the Jacquard loom weaves flowers and leaves. 1843. Ada Lovelace (1815-1852) was born Augusta Ada ...
  8. [8]
    Ada Byron, Lady Lovelace - Biographies of Women Mathematicians
    Feb 19, 2025 · Somerville encouraged Ada in her mathematical studies, she also attempted to put mathematics and technology into an appropriate human context.Missing: training | Show results with:training
  9. [9]
    [PDF] Ada and the First Computer
    Ada received an excellent education: she was tutored in mathematics by Mary Somerville, a prominent scientist best known for. Ada and the First Computer. The ...Missing: training | Show results with:training
  10. [10]
    Ada Lovelace: A Simple Solution to a Lengthy Controversy - PMC
    Oct 9, 2020 · Lovelace was soon introduced to Mary Somerville, who took a more modern and analytical approach to mathematics. Lovelace writes to Somerville of ...
  11. [11]
    Classics in the History of Psychology -- Lovelace (1843)
    Translation originally published in 1843 in the Scientific Memoirs, 3, 666-731. (Go to the article to which the following Notes were appended). NOTES BY THE ...
  12. [12]
    Luigi Menabrea Publishes the First Computer Programs, Designed ...
    At Babbage's suggestion, Lady Lovelace added seven explanatory notes to her translation, which run about three times the length of the original. Her annotated ...
  13. [13]
    Mathematical Treasure: Ada Lovelace's Notes on the Analytic Engine
    Her "Notes" were three times as long as Menabrea's, and remain a classic in the early literature on computers. The translated paper and Ada's commentary were ...<|separator|>
  14. [14]
    Charles Babbage - DPMA
    The calculator, which Babbage first sketched in 1837, was to anticipate the basic components and logical structure of modern computers. Its memory unit was to ...Charles Babbage · Decimal Difference Machine · Birth Of Computer ScienceMissing: conception | Show results with:conception<|control11|><|separator|>
  15. [15]
    The Engines | Babbage Engine - Computer History Museum
    The 1830 design shows a machine calculating with sixteen digits and six orders of difference. The Engine called for some 25,000 parts shared equally between the ...
  16. [16]
    Charles Babbage's Difference Engines and the Science Museum
    Jul 18, 2023 · The Analytical Engine was designed to perform any calculation set before it and to have even higher powers of analysis than the original ...Missing: 1837 | Show results with:1837
  17. [17]
    The Origin of the Bernoulli Numbers: Mathematics in Basel and Edo ...
    Jul 23, 2021 · For specialists, the Bernoulli numbers are commonly defined as the coefficients of x in the expansion of the function in powers of x:.Missing: recursive | Show results with:recursive
  18. [18]
    Bernoulli Number -- from Wolfram MathWorld
    The Bernoulli numbers B_n are a sequence of signed rational numbers that can be defined by the exponential generating function x/(e^x-1)=sum_(n=0)^infty(B_nx^n ...Missing: Taylor | Show results with:Taylor
  19. [19]
    [PDF] The Bernoulli Numbers: A Brief Primer - Whitman College
    May 10, 2019 · In this primer, we explore the diverse properties of a rational sequence known as the Bernoulli numbers. Since the discovery of the numbers ...
  20. [20]
    [PDF] Ada Lovelace and the Logic of the Analytical Engine
    Lovelace's programme to compute Bernoulli Numbers. Page 27. Page 28. Was the Analytical Engine just a larger Difference Engine? • The Difference Engine ...
  21. [21]
    Introduction to Menabrea/Lovelace (1842/1843) by C.D. Green
    Introduction to Ada Lovelace's Translation of, and Notes to, Luigi F. Menabrea's "Sketch of the analytical engine invented by Charles Babbage, Esq." (1842/1843).Missing: G inspiration
  22. [22]
    [PDF] Lovelace & babbage and the creation of the 1843 'notes'
    Ada Lovelace's “Notes,” describing the Analytical Engine, published in Taylor's Scientific Memoirs in 1843, contained a ground-breaking description of the ...
  23. [23]
    Sketch of the Analytical Engine Invented by Charles Babbage
    We have represented the solution of these two equations below, with every detail, in a diagram similar to those used in Note B; but additional explanations are ...Notes By The Translator · Note A · Note E
  24. [24]
    Untangling the Tale of Ada Lovelace - Stephen Wolfram Writings
    Dec 10, 2015 · But in any case, by February 1843, Ada had resolved to do the translation but add extensive notes of her own. Menabrea's article on Babbage's ...
  25. [25]
    Lovelace & Babbage and the creation of the 1843 'notes'
    Aug 14, 2015 · Augusta Ada Lovelace worked with Charles Babbage to create a description of Babbage's unbuilt invention, the Analytical Engine, a highly ...
  26. [26]
    TAP: Ada Lovelace - ``Notes'' - Computer Science
    To start with, Ada added a footnote to her translation of Menabrea's article. She emphasized the difference between Pascal's machine, which can be compared to a ...
  27. [27]
    Charles Babbage, Ada Lovelace, and the Bernoulli Numbers - arXiv
    Jan 7, 2023 · Full text. Search ... Babbage and Lovelace's treatment of the Bernoulli numbers in Note 'G' spotlights this aspect of their collaboration.
  28. [28]
    [PDF] Charles Babbage, Ada Lovelace, and the Bernoulli Numbers - arXiv
    Jan 9, 2023 · In the original 1843 publication of Note “G,” there are clearly two nested loops, embedded in a ... Note D presents a straightforward. 51.Missing: subtract | Show results with:subtract
  29. [29]
    Web emulator - The Analytical Engine - Fourmilab
    The web emulator runs in your browser using JavaScript, allowing you to submit cards, load files, and control the engine with start, step, and reset buttons.Missing: G interactive demo
  30. [30]
    Lovelace's program for Bernouilli numbers
    This program is described in her note G and allows to calculate Bernouilli numbers. For that purpose, she relied on the following series.Missing: error 25621/630
  31. [31]
  32. [32]
    Ada Lovelace: The First Computer Programmer and Why She Is... : CIN
    This article highlights the life of Ada Lovelace, her contributions to computer programming, and how her work paved the way for the use of computers in nursing.
  33. [33]
    Ada Lovelace: The World's First Computer Programmer Who ...
    Mar 22, 2023 · In her Translator's Note G, dubbed by Alan Turing “Lady Lovelace's Objection,” Lovelace wrote about her belief that while computers had endless ...
  34. [34]
    [PDF] Lovelace s Program: A Challenging but Achievable Assignment ...
    #include <stdio.h>. /*. * Calculates what Ada Lovelace labeled "B7", which today we would call the 8th. * Bernoulli number. */ int main(int argc, char* argv ...
  35. [35]
    Combinatorial - SymPy 1.14.0 documentation
    We compute Bernoulli numbers using Ramanujan's formula: ... Return the number of combinations of n items taken k at a time. Possible values for n : integer ...