|
|
A090467
|
|
Numbers which are not regular figurative or polygonal numbers of order greater than 2. That is, numbers not of the form 1 + k*n(n-1)/2 - (n-1)^2 where n >= 2 and k >= 2.
|
|
9
|
|
|
1, 2, 3, 4, 5, 7, 8, 11, 13, 14, 17, 19, 20, 23, 26, 29, 31, 32, 37, 38, 41, 43, 44, 47, 50, 53, 56, 59, 61, 62, 67, 68, 71, 73, 74, 77, 79, 80, 83, 86, 89, 97, 98, 101, 103, 104, 107, 109, 110, 113, 116, 119, 122, 127, 128, 131, 134, 137, 139, 140, 143, 146, 149, 151, 152
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
The n-th k-gonal number is 1 + k*n(n-1)/2 - (n-1)^2 = A057145(k,n).
|
|
REFERENCES
|
Albert H. Beiler, Recreations In The Theory Of Numbers, The Queen Of Mathematics Entertains, Dover, NY, 1964, pp. 185-199.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
3 is a triangular number, but is not a k-gonal number for any other k, so 3 is a term.
6 is both a triangular number and a hexagonal number, so 6 is not a term.
|
|
MATHEMATICA
|
Complement[ Table[i, {i, 300}], Take[ Union[ Flatten[ Table[1 + k*n(n - 1)/2 - (n - 1)^2, {n, 3, 40}, {k, 3, 300}]]], 300]]
|
|
PROG
|
(PARI) isok(n) = (n < 3) || (vecsum(vector(n-2, k, k+=2; ispolygonal(n, k))) == 1); \\ Michel Marcus, May 01 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|