A226693 Squarefree parts of A079896(n), n>= 1.
5, 2, 3, 13, 17, 5, 21, 6, 7, 29, 2, 33, 37, 10, 41, 11, 5, 3, 13, 53, 14, 57, 15, 61, 65, 17, 69, 2, 73, 19, 77, 5, 21, 85, 22, 89, 23, 93, 6, 97, 101, 26, 105, 3, 109, 7, 113, 29, 13, 30, 31, 5, 2, 129, 33, 133, 34, 137, 35, 141, 145, 37, 149, 38, 17, 39, 157, 10
Offset: 1
References
- D. A. Buell, Binary Quadratic Forms, Springer, 1989.
Links
- Gheorghe Coserea, Table of n, a(n) for n = 1..20001
Programs
-
Mathematica
SquareFreePart[n_] := Times @@ Power @@@ ({#[[1]], Mod[#[[2]], 2]} & /@ FactorInteger[n]); SquareFreePart /@ Select[ Range[160], ! IntegerQ[Sqrt[#]] && Mod[#, 4] < 2 &] (* Jean-François Alcover, Jun 25 2013 *)
-
PARI
A079896_list(N) = { my(n = 1, v = vector(N), top = 0); while (top < N, if (n%4 < 2 && !issquare(n), v[top++] = n); n++;); return(v); }; apply(core, A079896_list(68)) \\ Gheorghe Coserea, Nov 10 2016
Formula
a(n) = squarefree part of D(n) = A079896(n), n >= 1, the numbers 0 and 1 (mod 4), not a square.
Extensions
Offset corrected by Robin Visser, Jun 01 2025
Comments