cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A225720 Composite squarefree numbers n such that p+10 divides n-10 for each prime p dividing n.

This page as a plain text file.
%I A225720 #13 Nov 05 2017 00:41:57
%S A225720 10,79222,206965,784090,1673122,2227123,4798090,5202571,9196330,
%T A225720 13146715,15015430,18213595,19342333,21735010,27907435,28234018,
%U A225720 28240090,37394146,38710990,53990695,54772453,70646509,79671826,89678830,107251990,114572545,115005187,137245690
%N A225720 Composite squarefree numbers n such that p+10 divides n-10 for each prime p dividing n.
%e A225720 Prime factors of 2227123 are 19, 251 and 467. We have that (2227123-10)/(19+10) = 76797, (2227123-10)/(251+10) = 8533 and (2227123-10)/(467+10) = 4669.
%p A225720 with(numtheory); A225720:=proc(i,j) local c, d, n, ok, p, t;
%p A225720 for n from 2 to i do if not isprime(n) then p:=ifactors(n)[2]; ok:=1;
%p A225720 for d from 1 to nops(p) do if p[d][2]>1 or p[d][1]=j then ok:=0; break; fi;
%p A225720 if  not type((n+j)/(p[d][1]-j),integer) then ok:=0; break; fi; od;
%p A225720 if ok=1 then print(n); fi; fi; od; end: A225720(10^9,-10);
%o A225720 (PARI) is(n,f=factor(n))=if(#f[,2]<2 || vecmax(f[,2])>1, return(0)); for(i=1,#f~, if((n-10)%(f[i,1]+10), return(0))); 1 \\ _Charles R Greathouse IV_, Nov 05 2017
%Y A225720 Cf. A208728, A225702-A225719.
%K A225720 nonn
%O A225720 1,1
%A A225720 _Paolo P. Lava_, May 13 2013
%E A225720 a(20)-a(27) from _Donovan Johnson_, Nov 15 2013
%E A225720 a(28) from _Charles R Greathouse IV_, Nov 05 2017