Currently there may be errors shown on top of a page, because of a missing Wiki update (PHP version and extension DPL3).
Navigation
Topics Help • Register • News • History • How to • Sequences statistics • Template prototypes

Difference between revisions of "Carol-Kynea prime 8"

From Prime-Wiki
Jump to: navigation, search
m
(test new list/count)
Line 1: Line 1:
{{Carol-Kynea prime
+
{{#arraydefine:C2|{{GP|Carol-Kynea prime 2|CKClist}}|/\n/}}{{#vardefine:CC}}{{#loop: i
 +
| 0
 +
| {{#arraysize:C2}}
 +
| {{#vardefine:val|{{#arrayindex:C2|{{#var:i}}}}}} {{#if:{{#pos:{{#var:val}}|;}}|{{#vardefine:val|{{#sub:{{#var:val}}|0|{{#pos:{{#var:val}}|;}}}}}}}} {{#ifeq:{{#expr:{{#var:val}} mod 3}}|0|
 +
{{#vardefine:CC|{{#var:CC}}{{#ifeq:{{#len:{{#var:CC}}}}|0||,}}{{#expr:{{#var:val}}/3}}}}}}
 +
}}{{#arraydefine:CL|{{#var:CC}}}}<!--
 +
-->{{Carol-Kynea prime
 
|CKBase=8
 
|CKBase=8
 
|CKMaxn={{#expr:floor({{GP|Carol-Kynea prime 2|CKMaxn}}/3)}}
 
|CKMaxn={{#expr:floor({{GP|Carol-Kynea prime 2|CKMaxn}}/3)}}
 
|CKDate={{GP|Carol-Kynea prime 2|CKDate}}
 
|CKDate={{GP|Carol-Kynea prime 2|CKDate}}
|CKClist={{#arraydefine:C2|{{GP|Carol-Kynea prime 2|CKClist}}|/\n/}}{{#loop: i
+
|CKClist={{#arrayprint:CL}}
| 0
+
|CKCcount={{#arraysize:CL}}
| {{#arraysize:C2}}
 
| {{#vardefine:val|{{#arrayindex:C2|{{#var:i}}}}}} {{#if:{{#pos:{{#var:val}}|;}}|{{#vardefine:val|{{#sub:{{#var:val}}|0|{{#pos:{{#var:val}}|;}}}}}}}} {{#ifeq:{{#expr:{{#var:val}} mod 3}}|0|{{#ifeq:{{#var:i}}|1||,}} {{#expr:{{#var:val}}/3}}}}
 
}}
 
 
|CKKlist={{#arraydefine:K2|{{GP|Carol-Kynea prime 2|CKKlist}}|/\n/}}{{#loop: i
 
|CKKlist={{#arraydefine:K2|{{GP|Carol-Kynea prime 2|CKKlist}}|/\n/}}{{#loop: i
 
| 0
 
| 0

Revision as of 10:28, 3 April 2019

Current data

Base : 8
Max n : 256,290
Date : 2020-10-06
Carol: (27) 1, 2, 4, 5, 6, 7, 9, 43, 44, 53, 57, 105, 108, 131, 145, 262, 569, 2154, 4763, 13004, 33408, 58583, 61860, 75583, 82983, 217830, 231877

Kynea: (22) 1, 3, 4, 5, 6, 7, 9, 17, 29, 60, 167, 169, 185, 197, 550, 12345, 15291, 23104, 34145, 35460, 36296, 125350
Remarks :
Power of 2 DO NOT RESERVE! This is a multiple of base 2 and generated automatically from that.