OFFSET
1,1
COMMENTS
Whether a perfect number ends in 6 or 28, the preceding digit is odd except for the two initial terms.
All terms except the first two are divisible by 8. - Iain Fox, Dec 06 2017
REFERENCES
Alfred S. Posamentier, Math Charmers, Tantalizing Tidbits for the Mind, Prometheus Books, NY, 2003, page 47.
MATHEMATICA
p=MersennePrimeExponent[Range[45]]; Mod[(PowerMod[2, p, 1000] - 1)(PowerMod[2, p - 1, 1000]), 1000] (* edited by Iain Fox, Dec 06 2017 *)
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Alfred S. Posamentier (asp2(AT)juno.com) and Robert G. Wilson v, Feb 23 2005
EXTENSIONS
Clarified definition and extended by Ivan Panchenko, Aug 05 2014
a(44)-a(45) from Iain Fox, Dec 04 2017
a(46)-a(47) from Ivan Panchenko, Apr 17 2018
a(48) from Iain Fox, Oct 25 2022
STATUS
approved