|
Search: id:A162902
|
|
|
| A162902 |
|
An increasing sequence of alternatingly square-free and not square-free numbers. |
|
+0 1
|
|
| 1, 4, 5, 8, 10, 12, 13, 16, 17, 18, 19, 20, 21, 24, 26, 27, 29, 32, 33, 36, 37, 40, 41, 44, 46, 48, 51, 52, 53, 54, 55, 56, 57, 60, 61, 63, 65, 68, 69, 72, 73, 75, 77, 80, 82, 84, 85, 88, 89, 90, 91, 92, 93, 96, 97, 98, 101, 104, 105, 108, 109, 112, 113, 116, 118, 120, 122
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
Composed of elements of A005117 at odd indices and of A013929 at even indices
such that first differences of the combined sequence remain positive and minimal.
|
|
MATHEMATICA
|
f[n_]:=Module[{a=m=0}, Do[If[FactorInteger[n][[m, 2]]>1, a=1], {m, Length[FactorInteger[n]]}]; a]; q=0; lst={}; Do[If[f[n]==q, If[q==1, q=0, q=1]; AppendTo[lst, n]], {n, 6!}]; lst
|
|
CROSSREFS
|
Cf. A005117
Sequence in context: A067271 A064394 A092022 this_sequence A026491 A033157 A059659
Adjacent sequences: A162899 A162900 A162901 this_sequence A162903 A162904 A162905
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Vladimir Orlovsky (4vladimir(AT)gmail.com), Jul 16 2009
|
|
EXTENSIONS
|
Edited by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 21 2009
|
|
|
Search completed in 0.002 seconds
|