Niven

Announcements of available shared folders

Niven

Postby oliver » Fri Mar 11, 2011 3:45 pm

Folder containing functions from a Niven number hunting challenge, as per http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv019.cgi?read=176641.

Make sure you have Bench downloaded, then tap the ⌛-keys to run timed RPL and JavaScript versions of the 4-consecutive Niven number search in the range from 1000 to 10000.

Given an integer, use next to find the next Niven number (this works analogous to NEXTPRIME).
Given a start and end integer, use inRange to find all Niven numbers in that range.

next9 and inRange9 do the same for 9-consecutive Niven numbers. Know, though, that you may be searching for a long time.

Can you find the first 10-consecutive Niven number? (If so, let us know...)
oliver
Site Admin
 
Posts: 433
Joined: Sat May 01, 2010 2:11 pm

Return to Downloadable Folders / Shared Data

Who is online

Users browsing this forum: No registered users and 2 guests

cron