OFFSET
0,2
COMMENTS
Note that A002471 allows for k to equal zero.
REFERENCES
David Wells, "The Penguin Dictionary of Curious and Interesting Numbers," Revised Edition, Penguin Books, London, 1997, page 63.
LINKS
Donovan Johnson, Table of n, a(n) for n = 0..1000
EXAMPLE
a(3) = 27 because 27 = 23+2^2 = 11+4^2 = 2+5^2 and is the least odd number to exhibit this property of 3 representations.
MATHEMATICA
a = Table[ 0, {55} ]; Do[ c = 0; k = 1; While[ n - k^2 > 1, If[ PrimeQ[ n - k^2], c++ ]; k++ ]; If[ a[[c]] == 0, a[[c]] = n], { n, 1, 30500, 2} ]; a
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Mar 15 2001
EXTENSIONS
Name clarified by Donovan Johnson, Nov 24 2012
STATUS
approved