incastle의 콩나물
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/05VmD/btquhjrcrPL/MMfWA4DKKzvOzt7EbCPQe0/img.png)
문제 어떤 양의 정수 X의 자리수가 등차수열을 이룬다면, 그 수를 한수라고 한다. 등차수열은 연속된 두 개의 수의 차이가 일정한 수열을 말한다. N이 주어졌을 때, 1보다 크거나 같고, N보다 작거나 같은 한수의 개수를 출력하는 프로그램을 작성하시오. max_number = int(input()) # 한수를 확인할 max_number count = 0 # 한수 count for number in range(1,max_number+1): # max_number 아래로 하나씩 접근 num_list=list(str(number)) gap = [] # 등차수열 gap 확인 if len(num_list) == 1 or len(num_list) == 2: count += 1 # 일의 자리, 십의 자리는 모두 한수 ..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/U9VBL/btqufyOuObm/3OpGdQhoPSdNLfr9eAk6Xk/img.png)
경제성공학 김장호 교수님 수업 (19-1) interst Rates 기존에 이자율은 년 단위로 update가 됐다.(ex. 1년이 지나면 이자가 얼마 오른다.) 현실 세계에서는 그 기간이 더 짧다. (반년마다, 분기마다, 월마다 등) even in our personal lives, many of our financial considerations have interest rates compounded shorter than once a year. nominal interest rate(명목 금리, 명목 이자율) vs effective interest rate(실효 금리, 실효 이자율) 검색해보면 [실질 금리 = 명목 금리 - 물가 상승률]이라는 말만 내놓는데 딱히 관련은 없어 보인다. compounde..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/pCPtN/btqudUq8Xub/5IfmMo0ukZxZKT95ymMr00/img.png)
경제성공학 김장호 교수님 수업 (19-1) cash flow가 현재 시점으로부터 1년 후, 혹은 2년 후(gradient일 때) 발생하지 않고 shifted 하면 어떻게 되는지에 대한 chapter # NOTE - The present worth is always located one period prior to the first uniform series amount when using the P/A factor - The future worth is always located in the same period as the last uniform series amount when using the F/A factor Uniform Series that are shifted Shifted uniform ..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/cxdzvu/btqudUq4ATH/czk9OTkC8IHu1H3Zad09Yk/img.png)
경제성공학 김장호 교수님 수업 (19-1) Cash flow의 종류 isolated single values Series of uniform values Series that increase or decrease values Single-Amount Factor(isolated single values) 현재 돈이 P만큼 있고, 이자가 i일 때, n 년 후의 F(future money)는? 반대로 F를 아는데 P가 궁금하면 수식을 반대로만 써주면 된다. F/P factor and P/F factor are for a single payment => only one payment or receipt Uniform Series The equivalent present worth P of a uniform s..