|
Search: id:A083793
|
|
|
| A083793 |
|
Numbers n such that n and n-1 have the same prime signature. Numbers not included in A083792. |
|
+0 3
|
|
| 3, 15, 22, 34, 35, 39, 45, 58, 86, 87, 94, 95, 117, 119, 123, 134, 136, 142, 143, 146, 159, 172, 178, 202, 203, 206, 214, 215, 218, 219, 231, 254, 286, 297, 299, 302, 303, 327, 333, 335, 382, 388, 394, 395, 430, 435, 446, 447, 454, 482, 502, 515, 527, 538, 543
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
MAPLE
|
with(numtheory):with(linalg): primesigcheck := proc(n) temp1 := ifactors(n)[2]: temp2 := ifactors(n-1)[2]: ps1 := array(1..nops(temp1)):ps2 := array(1..nops(temp2)): for i from 1 to nops(temp1) do ps1[i] := temp1[i][2] od: for i from 1 to nops(temp2) do ps2[i] := temp2[i][2] od: if equal(ps1, ps2) then RETURN(1) else RETURN(0) fi: end: for n from 2 to 10^3 do if primesigcheck(n) = 1 then printf(`%d, `, n) fi: od:
|
|
MATHEMATICA
|
PrimeFactorExponents[n_] := Flatten[ Table[ # [[2]], {1}] & /@ FactorInteger[n]]; Select[ Range[543], PrimeFactorExponents[ # ] == PrimeFactorExponents[ # - 1] & ]
|
|
CROSSREFS
|
Cf. A083792.
Adjacent sequences: A083790 A083791 A083792 this_sequence A083794 A083795 A083796
Sequence in context: A087674 A009057 A083795 this_sequence A083934 A072200 A106403
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Amarnath Murthy (amarnath_murthy(AT)yahoo.com), May 07 2003
|
|
EXTENSIONS
|
Corrected and extended by James A. Sellers (sellersj(AT)math.psu.edu), May 19, 2003
|
|
|
Search completed in 0.002 seconds
|