{"id":1980,"date":"2016-10-04T09:01:52","date_gmt":"2016-10-04T09:01:52","guid":{"rendered":"http:\/\/www.kodcafe.com\/?p=1980"},"modified":"2016-10-04T09:01:52","modified_gmt":"2016-10-04T09:01:52","slug":"php-de-fibonacci-serisi-yazdirma","status":"publish","type":"post","link":"http:\/\/www.kodcafe.com\/?p=1980","title":{"rendered":"Php de Fibonacci Serisi Yazd\u0131rma"},"content":{"rendered":"<p>0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987.. dizisi Fibonacci say\u0131 dizisi olarak ge\u00e7iyor. Fibonacci say\u0131 dizisinin \u00f6zelli\u011fi kendinden \u00f6nceki iki ard\u0131\u015f\u0131k say\u0131n\u0131n toplam\u0131n\u0131n kendisinden sonraki say\u0131ya e\u015fit olmas\u0131d\u0131r.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1988\" src=\"http:\/\/www.kodcafe.com\/wp-content\/uploads\/2016\/10\/fibonacci_2.png\" alt=\"fibonacci_2\" width=\"480\" height=\"240\" \/><\/p>\n<p>\u00f6rnek uygulamam\u0131z..: <!--more--><\/p>\n<p>bu \u00f6rnekte fibonacci dizisinin 30 eleman\u0131nn\u0131 ekrana yazd\u0131rd\u0131k..<\/p>\n<pre lang=\"php\"> \n<!--?php \n$a=0; \n$b=1;\n\necho \"F&lt;sub&gt;0&lt;\/sub&gt;=0\".\"&lt;br&gt;\";\necho \"F&lt;sub&gt;1&lt;\/sub&gt;=\".$b.\"&lt;br&gt;\";\nfor($s=2;$s&lt;30;$s++)\n{\n$c=$a+$b;\n  \necho  \"F&lt;sub&gt;\".$s.\"&lt;\/sub&gt;=\".$c.\"&lt;br&gt;\";\n$a=$b; $b=$c;\n} \n?-->\n<\/pre>\n<p>Ekran \u00e7\u0131kt\u0131s\u0131<\/p>\n<p>\ufeff\ufeffF0=0<br \/>\nF1=1<br \/>\nF2=1<br \/>\nF3=2<br \/>\nF4=3<br \/>\nF5=5<br \/>\nF6=8<br \/>\nF7=13<br \/>\nF8=21<br \/>\nF9=34<br \/>\nF10=55<br \/>\nF11=89<br \/>\nF12=144<br \/>\nF13=233<br \/>\nF14=377<br \/>\nF15=610<br \/>\nF16=987<br \/>\nF17=1597<br \/>\nF18=2584<br \/>\nF19=4181<br \/>\nF20=6765<br \/>\nF21=10946<br \/>\nF22=17711<br \/>\nF23=28657<br \/>\nF24=46368<br \/>\nF25=75025<br \/>\nF26=121393<br \/>\nF27=196418<br \/>\nF28=317811<br \/>\nF29=514229<br \/>\nF30=832040<\/p>\n","protected":false},"excerpt":{"rendered":"<p>0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987.. dizisi Fibonacci say\u0131 dizisi olarak ge\u00e7iyor. Fibonacci say\u0131 dizisinin \u00f6zelli\u011fi kendinden \u00f6nceki iki ard\u0131\u015f\u0131k say\u0131n\u0131n toplam\u0131n\u0131n kendisinden sonraki say\u0131ya e\u015fit olmas\u0131d\u0131r. \u00f6rnek uygulamam\u0131z..:<\/p>\n","protected":false},"author":1,"featured_media":1972,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[136,137,138,318,323],"class_list":["post-1980","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-genel","tag-fibonacci","tag-fibonacci-ornek-kod","tag-fibonacci-ornek-uygulama","tag-php-2","tag-php-de-fibonacci-serisi-yazdirma"],"_links":{"self":[{"href":"http:\/\/www.kodcafe.com\/index.php?rest_route=\/wp\/v2\/posts\/1980","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.kodcafe.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.kodcafe.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.kodcafe.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.kodcafe.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1980"}],"version-history":[{"count":0,"href":"http:\/\/www.kodcafe.com\/index.php?rest_route=\/wp\/v2\/posts\/1980\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.kodcafe.com\/index.php?rest_route=\/"}],"wp:attachment":[{"href":"http:\/\/www.kodcafe.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1980"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.kodcafe.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1980"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.kodcafe.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1980"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}