OFFSET
1,2
COMMENTS
Numbers without prime factor of form 6k+1 and without prime factor of form 3k+2 to an odd multiplicity.
LINKS
Ray Chandler, Table of n, a(n) for n = 1..10000 (first 413 terms from Jean-Christophe Hervé)
August Lösch, Economics of Location (1954), see pp. 117f.
Kenneth Shum's scrapbook, Distance distribution in the hexagonal packing
EXAMPLE
49 is not in the sequence because 49 = 3^2+3*5+5^2.
MATHEMATICA
selQ[1] = True; selQ[n_] := Module[{f = FactorInteger[n]}, FreeQ[f, {p_, q_} /; Mod[p, 6] == 1 || Mod[p, 3] == 2 && OddQ[q]]]; Select[Range[2500], selQ] (* Jean-François Alcover, Nov 25 2013, after first comment *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jean-Christophe Hervé, Nov 23 2013
STATUS
approved