|
|
A004631
|
|
Squares written in base 16. (Next term contains a non-decimal character.)
|
|
1
|
|
|
1, 4, 9, 10, 19, 24, 31, 40, 51, 64, 79, 90
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
The next term contains a nondecimal digit: see the link below for an expanded table of squares with the nondecimal digits.
Perfect squares in base 16 must end in one of {0, 1, 4, 9}, similar to perfect squares in base 12.
As n increases, a(n) cycles through the end digits thus: {0, 1, 4, 9, 0, 9, 4, 1}.
(End)
|
|
REFERENCES
|
GCHQ, The GCHQ Puzzle Book, Penguin, 2016. See pages 108 and 300.
|
|
LINKS
|
|
|
EXAMPLE
|
a(8) = 8 * 8 = decimal 64 = 4 * 16 + 0 = "40".
a(15) = 15 * 15 = decimal 225 = 14 * 16 + 1. Using the digit "e" to represent digit-14, a(15) = "e1".
|
|
MATHEMATICA
|
a004631[n_Integer] := BaseForm[n^2, 16]; a004631/@Range[1024] (* Michael De Vlieger, Nov 12 2014 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|