OFFSET
1,1
COMMENTS
This is a riddle. (Explanation: This lists the squarefree part of the nonsquares. - Amiram Eldar, Sep 05 2020)
A007913 with the ones removed.
REFERENCES
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
H. Brocard, Notes élémentaires sur le problème de Peel, Nouvelle Correspondance Mathématique, Vol. 4 (1878), pp. 161-169.
FORMULA
Sum_{k=1..n} a(k) ~ c * n^2, where c = Pi^2/30 = 0.328986... . - Amiram Eldar, Feb 02 2024
MATHEMATICA
core[n_] := Times @@ (First[#]^Mod[Last[#], 2] & /@ FactorInteger[n]); Select[core /@ Range[100], # > 1 &] (* Amiram Eldar, Sep 05 2020 *)
PROG
(Python)
from math import isqrt, prod
from sympy import factorint
def A002734(n):
k = isqrt(n)
return prod(p for p, e in factorint(n+k+int(n>k*(k+1))).items() if e&1) # Chai Wah Wu, Jun 05 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved
