유한체 위의 정수론과 기하학

수학노트
http://bomber0.myid.net/ (토론)님의 2011년 5월 18일 (수) 14:44 판 (피타고라스님이 이 페이지의 위치를 <a href="/pages/7763844">유용한 코드 모음</a>페이지로 이동하였습니다.)
둘러보기로 가기 검색하러 가기
이 항목의 수학노트 원문주소

 

 

개요

 

 

 

코드
  1. (*choose the range l for the number of primes*)
    l := 50
    (*choose a polynomial to work with*)
    Pol := x^2 - 5
    disc := Discriminant[Pol, x]
    (*choose the modulus*)
    M := 5
    Pr[l_] := Table[Prime[n], {n, 1, l}]
    S := Pr[l]
    (*output*)
    Print["discriminant of polynomial", " ", Pol // TraditionalForm]
    disc
    (*decomposition of the given polynomial modulo p*)
    TableForm[Table[{Mod[p, M], Factor[Pol, Modulus -> p]}, {p, S}],
     TableHeadings -> {S, {"residue class", "decomposition"}},
     TableAlignments -> Center]

 

 

메모

 

 

관련된 항목들

 

 

사전 형태의 자료

 

 

관련논문