zoukankan      html  css  js  c++  java
  • 山寨算名先生

    小孩出生了,9月22日晚上9点38分。

    国庆在家学习了一下五行、五格三才。

    小孩出生具体时间是:

    八月十八
    癸巳年  
    辛酉月 辛卯日    
    已亥时 

    先来看五行,(地支的卯中藏乙)统计出来是2水、2火、3金、2木,金旺缺木,由于火克金,需要加火添土。(虽然他爸爸我的时辰里有很多土,不过还是给他加属性吧)

    再来看五格三才,五格三才有4个属性,分别是天格、人格、地格、外格,其中最重要的是人格。

    计算方法是

    单姓单名
    人格 16+x
    地格 x+1
    外格 16+x-(16+x)+1+1 =2  (从后面看出,这个数字不好,所以所有的单姓单名都不考虑了)
    总格 16+x


    单姓复名
    人格 16+x
    地格 x+y
    外格 16+x+y - (16+x)+1 = y+1
    总格 16+x+y

    对于五格三才有一种理论是81理论,算出来的五格在好的数字集合里越多越好,到差的数字集合里越少越好。


    大吉祥的数为:
    1、3、5、8、11、13、15、16、21、23、24、25、29、31、32、33、35、37、39、41、45、47、48、52、47、63、65、67、68、81。
    虽吉祥但又有障碍的数为:6、7、17、18、27、30、38、40、51、55、61、75。
    凶运的数为:
    2、4、9、10、12、14、19、20、22、26、28、34、36、42、43、44、46、49、50、53、54、56、58、59、60、64、66、69、70、71、72、73、74、76、77、78、79、80。
    理智发达的吉数为:1、13、21、23、24、25、29、31、35、38、39、41、45、48、52、63、67、68。
    情感浓厚的吉数为:1、3、5、6、11、15、16、21、23、32、33。
    意志坚韧的吉数为:7、8、11、17、18、21、31、37、41、47。

    最近正好在学python,于是写一个程序,输入天格数,遍历所有的可能组合,算出比较好的笔画组合。

    big_good = frozenset([1,3,5,8,11,13,15,16,21,23,24,25,29,31,32,33,35,37,39,41,45,47,48,52,47,63,65,67,68,81])
    half_good = frozenset([6,7,17,18,27,30,38,40,51,55,61,75])
    bad = frozenset([2,4,9,10,12,14,19,20,22,26,28,34,36,42,43,44,46,49,50,53,54,56,58,59,60,64,66,69,70,71,72,73,74,76,77,78,79,80])
    
    result = []
    print "Please enter your first name number"
    
    first_name = int(raw_input("> "))
    
    def calc_name_score(second_name,last_name):
    	person_score = first_name+second_name
    	if person_score not in big_good:
    #		if person_score not in half_good:
    			return 0
    			
    	earth_score = second_name + last_name
    	if earth_score not in big_good:
    #		if earth_score not in half_good:
    			return 0
    	out_score = last_name + 1
    	if out_score not in big_good:
    #		if out_score not in half_good:
    			return 0
    	total_score = first_name + second_name + last_name
    	if total_score not in big_good:
    #		if total_score not in half_good:
    			return 0
    	print ("%r,%r" % (second_name,last_name))
    	
    print ("second_name_number,last_name_number")
    for i in range(1,82):
    	for j in range(1,82):
    		calc_name_score(i,j)


    鄙姓陈,繁体是16画,输入16,得到最优的笔画组合:

    second_name_number,last_name_number
    5,10
    5,20
    5,24
    5,47
    7,14
    7,22
    7,24
    7,40
    8,7
    8,15
    8,23
    8,24
    8,44
    9,4
    9,7
    9,12
    9,14
    9,20
    9,22
    9,23
    9,38
    13,2
    13,10
    13,12
    13,34
    15,10
    15,14
    15,32
    16,7
    16,15
    16,31
    16,36
    17,4
    17,12
    17,14
    17,15
    17,30
    19,2
    19,4
    19,10
    19,12
    19,28
    19,46
    21,2
    21,4
    21,10
    21,31
    21,44
    23,2
    23,24
    25,4
    25,7
    25,22
    25,40
    29,2
    29,23
    29,36
    31,34
    32,15
    32,20
    51,14
    


    再查相应笔画数的土,火属性的字,目前只想到组合:

    陈旻(min)远、陈远燊(shen)、陈嵚(qin)远

    个人比较倾向于第一个,旻是秋天的天空,正好小孩是秋天生,看上去也好看,如果被老师同学叫成陈文远也无所谓了。

  • 相关阅读:
    客户端登录状态下打开对应网站也处于登陆状态
    C#替换HTML标签
    常用地址
    实时检测网络状态及是否可以连接Internet
    linux iconv 批量转码
    Linux PCI网卡驱动分析
    Cache写机制:Writethrough与Writeback
    addr2line 动态库
    PCI总线原理(二)
    Co.,Ltd.
  • 原文地址:https://www.cnblogs.com/james1207/p/3357859.html
Copyright © 2011-2022 走看看