OFFSET
1,7
COMMENTS
REFERENCES
Idea derived from "The Creation of New Mathematics: An Application of the Lakatos Heuristic," pp. 292-298 of Philip J. Davis and Reuben Hersh, The Mathematical Experience, Houghton Mifflin Co, 1982. ISBN 0-395-32131-X.
LINKS
EXAMPLE
prime(10) = 29, so a(10) = 29 mod 9 = 2.
MATHEMATICA
Mod[#, Last[IntegerDigits[#]]]&/@Prime[Range[110]] (* Harvey P. Dale, Jan 23 2013 *)
Mod[#, Mod[#, 10]]&/@Prime[Range[110]] (* Harvey P. Dale, Aug 22 2020 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
EXTENSIONS
Name edited by Jon E. Schoenfield, Jan 19 2023
STATUS
approved