|
|
A256706
|
|
Numbers whose arithmetic derivative A003415 is a square different from 1.
|
|
2
|
|
|
0, 1, 4, 12, 14, 39, 46, 54, 55, 94, 138, 155, 158, 183, 203, 256, 291, 295, 297, 299, 320, 323, 334, 426, 432, 446, 512, 579, 583, 695, 718, 799, 878, 943, 955, 959, 979, 1002, 1029, 1080, 1146, 1191, 1254, 1255, 1269, 1404, 1411, 1454, 1678, 1703, 1920
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
If n' = 1 (<=> n is prime) were not excluded, the sequence would mainly consist of the primes.
|
|
LINKS
|
|
|
FORMULA
|
Disjoint from sequence A157037 of numbers whose arithmetic derivative is a prime.
|
|
MAPLE
|
b:= n-> n*add(i[2]/i[1], i=ifactors(n)[2]):
a:= proc(n) option remember; local k;
for k from 1+`if`(n=1, -1, a(n-1)) while
(p-> p=1 or not issqr(p))(b(k)) do od; k
end:
|
|
MATHEMATICA
|
f[n_] := If[Abs@ n < 2, 0, n Total[#2/#1 & @@@ FactorInteger[Abs@ n]]]; {0}~Join~Flatten@ Position[Array[f, 2000], n_ /; IntegerQ[Sqrt@ n] && n != 1] (* Michael De Vlieger, Apr 08 2015, after Michael Somos at A003415 *)
|
|
PROG
|
(PARI) is(n)=!isprime(n)&&issquare(A003415(n))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|