|
|
|
|
1, 2, 5, 6, 11, 14, 21, 22, 31, 36, 47, 50, 63, 70, 85, 86, 103, 112, 131, 136, 157, 168, 191, 194, 219, 232, 259, 266, 295, 310, 341, 342, 375, 392, 427, 436, 473, 492, 531, 536, 577, 598, 641, 652, 697, 720, 767, 770, 819, 844, 895, 908, 961, 988, 1043, 1050, 1107, 1136
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
a(n) is also the number of elements in the set {(x,y): 1<=x,y<=n, the fraction x/y reduces to a fraction of the form (odd#)/(odd#)}. - Adam McDougall (mcdougall.adam(AT)gmail.com), Feb 20 2009
|
|
LINKS
|
|
|
FORMULA
|
a(n) = n^2/3 + O(n) (see MacLeod link). - Michel Marcus, Dec 05 2013
a(j*2^k) = a(j) + (4^k-1)*j^2/3 for any j >= 1, k >= 0. - Jinyuan Wang, Mar 23 2019
|
|
MATHEMATICA
|
Accumulate[Table[Times@@(#[[1]]^#[[2]]&/@Select[FactorInteger[i], #[[1]] != 2&]), {i, 90}]] (* Harvey P. Dale, Jun 25 2013 *)
|
|
PROG
|
(HP 50G Calculator) IDIV2 returns quotient & remainder to stack.
<< 0 SWAP
WHILE DUP 0 >
REPEAT 2 IDIV2 OVER + SQ ROT + SWAP
END DROP >>
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|