|
|
A331802
|
|
Integers having no representation as sum of two nonsquarefree numbers.
|
|
1
|
|
|
1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 14, 15, 19, 23
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
This sequence is finite with 14 terms and 23 is the largest term (see Prime Curios link); a proof can be found in comments of A331801.
|
|
LINKS
|
|
|
EXAMPLE
|
With the two smallest nonsquarefree numbers 4 and 8, it is not possible to get 1, 2, 3, 4, 5, 6, 7, 9, 10 and 11 as sum of two nonsquarefree numbers.
|
|
MATHEMATICA
|
max = 25; Complement[Range[max], Union @ Select[Total /@ Tuples[Select[Range[max], !SquareFreeQ[#] &], 2], # <= max &]] (* Amiram Eldar, Feb 24 2020 *)
|
|
CROSSREFS
|
Cf. A000404 (sum of 2 nonzero squares), A018825 (not the sum of 2 nonzero squares).
|
|
KEYWORD
|
nonn,full,fini
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|