Metraipolis › archive › dc_ff5086ecb358

Note G — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/Note_G
License (as archived)
CC-BY-SA-4.0
Archived
2026-10-07T16:39:17.062Z
SHA-256 of the archived text
bca1cca917897d66c8e0d51156adb9f789b9ec2c3a9f514e6eb82d5edf381237
Stable URL of this page
https://metraipolis.com/documento/dc_ff5086ecb358

How to cite

Note G — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Note_G (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_ff5086ecb358 (Metraipolis archive dc_ff5086ecb358, sha256 bca1cca917897d66c8e0d51156adb9f789b9ec2c3a9f514e6eb82d5edf381237)
BibTeX
@misc{dcff5086ecb358,
  title = {Note G — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/Note_G},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_ff5086ecb358; sha256 bca1cca917897d66c8e0d51156adb9f789b9ec2c3a9f514e6eb82d5edf381237},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Note_G. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Note G is a computer algorithm traditionally attributed to Ada Lovelace that was designed to calculate Bernoulli numbers using the hypothetical analytical engine designed by Charles Babbage. The algorithm was the last note in a series labelled "A" to "G", which were employed as visual aids to accompany Lovelace's English translation of Luigi Menabrea's 1842 French transcription of Charles Babbage's only lecture on the analytical engine. Her translation, along with her substantial notes on the possibilities of the analytical engine, were published in 1843. In Babbage's 1864 memoir he discusses the creation of the various notes with Lovelace, including note "G". He provided the mathematical formulas for the calculation of the Bernoulli numbers, which Ada converted into a step-by-step table of instructions for the analytical engine; she also spotted a bug for him: We discussed together the various illustrations that might be introduced: I suggested several, but the selection was entirely her own. So also was the algebraic working out of the different problems, except, indeed, that relating to the numbers of Bernoulli, which I had offered to do to save Lady Lovelace the trouble. This she sent back to me for an amendment, having detected a grave mistake which I had made in the process. Historians like Allan G. Bromley have noted several dozen sample programs prepared by Babbage between 1837 and 1840 (all substantially predating the illustrative notes), though they were never published and were substantially simpler, which has led to, in popular culture, Note G being generally considered to be the first algorithm specifically for a computer, and Lovelace is considered as the first computer programmer. The program described in Note G was not tested in Babbage's or Lovelace's lifetime, as the analytical engine was never built. In the modern era, the algorithm has been tested using modern computing methods and revealed to have a software bug in it due to two variables being swapped in a division operation.

Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; categoria «Algorithms»).
Fonte: Wikipedia in inglese, voce «Note G» — https://en.wikipedia.org/wiki/Note_G
Wikidata Q123509784 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q123509784
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Note_G?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1369520548, consultata il 2026-10-07T16:07:54.524Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 98115d21a21f3ffb2118c64a9a6419e8b4873d0d2ea6555ee4da26f6e0d15531