login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Numbers n such that n and n+1 both are members of A074997; i.e., on the one hand n-1 and n+1 have the same prime signature, on the other hand n and n+2 have the same prime signature.
1

%I #11 Jul 29 2017 13:19:19

%S 18,55,248,340,348,722,850,949,1061,1148,1204,1205,1241,1277,1314,

%T 1315,1667,1672,2148,2716,2948,2949,3258,3581,3650,3651,4044,4265,

%U 4627,4842,5092,5093,5451,5741,5765,6244,6355,6356,6565,6640,6851,6963,7362,7404

%N Numbers n such that n and n+1 both are members of A074997; i.e., on the one hand n-1 and n+1 have the same prime signature, on the other hand n and n+2 have the same prime signature.

%H Charles R Greathouse IV, <a href="/A086540/b086540.txt">Table of n, a(n) for n = 1..10000</a>

%o (PARI) isok1(n) = vecsort(factor(n-1)[,2]) == vecsort(factor(n+1)[,2]);

%o isok(n) = isok1(n) && isok1(n+1); \\ _Michel Marcus_, Jul 28 2015

%Y Cf. A074997.

%K nonn

%O 1,1

%A _Amarnath Murthy_, Aug 22 2003

%E More terms from _David Wasserman_, Mar 21 2005