A064047 Number of numbers only appearing once in 1-to-n multiplication table.
1, 2, 3, 3, 4, 5, 6, 6, 5, 6, 7, 8, 9, 10, 11, 10, 11, 12, 13, 13, 14, 15, 16, 17, 15, 16, 15, 15, 16, 17, 18, 17, 18, 19, 20, 20, 21, 22, 23, 24, 25, 26, 27, 27, 28, 29, 30, 30, 26, 26, 27, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 36, 37, 38, 39, 39, 40, 41, 42, 42, 43
Offset: 1
Keywords
Examples
In the 1-to-5 multiplication table, four numbers (1,9,16,25) appear once only. Therefore a(5)=4.
Links
- Robert Israel, Table of n, a(n) for n = 1..10000
- Ya-Ping Lu and Shu-Fang Deng, Properties of Polytopes Representing Natural Numbers, arXiv:2003.08968 [math.GM], 2020.
Programs
-
Maple
N:= 200: # for a(1)..a(N) V:= Vector(N): for x from 1 to N do y:= min(N, min(select(`>`,numtheory:-divisors(x^2),x))-1); V[x..y]:= map(`+`,V[x..y],1) od: convert(V,list); # Robert Israel, Sep 03 2020
Comments