OFFSET
1,1
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..10000 (first 1000 terms from Harry J. Smith)
MATHEMATICA
Select[Range[65000], Total[Transpose[FactorInteger[#]][[1]]] == Total[ Transpose[FactorInteger[#+3]][[1]]]&] (* Harvey P. Dale, Jan 19 2013 *)
PROG
(PARI) sopf(n, s, fac, i)=fac=factor(n); for(i=1, matsize(fac)[1], s=s+fac[i, 1]); return(s);
j=[]; for(n=1, 100000, if(sopf(n)==sopf(n+3), j=concat(j, n))); j
(PARI) sopf(n)= { local(f, s=0); f=factor(n); for(i=1, matsize(f)[1], s+=f[i, 1]); return(s) }
{ n=0; for (m=1, 10^9, if(sopf(m)==sopf(m + 3), write("b063969.txt", n++, " ", m); if (n==1000, break)) ) } \\ Harry J. Smith, Sep 04 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls, Sep 05 2001
STATUS
approved