About: isa:244809119   Sponge Permalink

An Entity of Type : prov:Entity, within Data Space : webisa.webdatacommons.org associated with source dataset(s)

AttributesValues
rdf:type
prov:value
  • def is_happy_number: def next: tostring | explode | map( (. - 48) | .*.) | add; def last(g): reduce g as $i (null; $i); # state: either 1 or [i, o] # where o is an an object with the previously encountered numbers as keys def loop: recurse( if . == 1 then empty # all done elif .[0] == 1 then 1 # emit 1 else (.[0]| next) as $n | if $n == 1 the
prov:wasQuotedFrom
is prov:wasDerivedFrom of
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software