...
首页> 外文期刊>Ada user journal >Pyramids, Reduction Expressions, and Final Puzzles
【24h】

Pyramids, Reduction Expressions, and Final Puzzles

机译:Pyramids, Reduction Expressions, and Final Puzzles

获取原文
获取原文并翻译 | 示例

摘要

This is going to be the last of these notes. My goal was to cover the puzzles that I have found sufficiently interesting to be worthy of mention at Ada-Europe conferences. This year the conference was electronic and my Avatar and I gave a bit of a talk and ended by mentioning four puzzles.But first I must give the solution to the piles of cannonballs problem. Recall that soldiers were asked to pile their cannonballs into square pyramids such that the number of balls in each pyramid is itself a square number. Each layer of a square pyramid comprises a square number of balls. The first few pyramidal numbers are 1, 5, 14, 30, and 55. Note that 1 is of course a square number so the first pyramidal number that is also a square is simply 1. The question is what is the second pyramidal number that is also a square number?The answer is 4900 = 70~2.

著录项

  • 来源
    《Ada user journal 》 |2021年第2期| 125-125| 共1页
  • 作者

    John Barnes;

  • 作者单位

    11 Albert Road, Caversham, Reading, RG4 7AN, UK;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 英语
  • 中图分类
  • 关键词

获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号