login
A111037
Number of squares plus number of cubes between 10n and 10n+9 (inclusive).
2
7, 1, 2, 1, 1, 0, 2, 0, 1, 0, 1, 0, 2, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0
OFFSET
0,1
FORMULA
a(n) = A110916(n) + A111025(n).
EXAMPLE
a(0) = 7 since between 0 and 9 there are 4 squares and 3 cubes for a total of 7 (0 and 1 count as both squares and cubes).
CROSSREFS
Sequence in context: A366316 A199001 A350048 * A369980 A090202 A030172
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Oct 05 2005
EXTENSIONS
Corrected and extended by Ray Chandler, Oct 07 2005
STATUS
approved