Post Reply 
(49G) OEIS A046034 : Numbers Composed Exclusively of Digits 2, 3, 5, 7
09-01-2017, 03:53 PM
Post: #2
RE: (49G) OEIS A046034 : Numbers Composed Exclusively of Digits 2, 3, 5, 7
A faster version of the programme:

Code:
::
  CK1&Dispatch
  # FF
  ::
    Z1_
    SWAP
    Z3_
    FPTR2 ^RMULText
    Z1_
    FPTR2 ^RADDext
    DUP
    FPTR2 ^Z>R
    %LN
    %4
    %LN
    %/
    %FLOOR
    COERCESWAP
    Z4_
    3PICK
    FPTR2 ^RP#
    FPTR2 ^RSUBext
    NULL$
    ROT
    ZERO_DO
    OVER
    4ROLL
    DUP
    Z4_
    FPTR2 ^RMULText
    5UNROLL
    Z3_
    FPTR2 ^RMULText
    FPTR2 ^ZQUOText
    DUPDUP
    FPTR2 ^RADDext
    Z1_
    FPTR2 ^RADDext
    Z8_
    FPTR2 ^ZMod
    OVER
    Z4_
    FPTR2 ^ZQUOText
    FPTR2 ^RADDext
    SWAP
    Z1_
    FPTR2 ^RSUBext
    Z4_
    FPTR2 ^IDIV2
    DROP
    FPTR2 ^RSUBext
    FPTR2 ^Z>S
    SWAP&$
    LOOP
    ROTROT2DROP
    FPTR2 ^S>Z
  ;
;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (49G) OEIS A046034 : Numbers Composed Exclusively of Digits 2, 3, 5, 7 - Gerald H - 09-01-2017 03:53 PM



User(s) browsing this thread: 1 Guest(s)