Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1035787 // firstNCubes - 1, 8, 27 etc

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (9235L/51K).

static L<Int> firstNCubes(int n) {
  ret virtualList(n, i -> cubed(i+1));
}

Author comment

Began life as a copy of #1033690

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1035787
Snippet name: firstNCubes - 1, 8, 27 etc
Eternal ID of this version: #1035787/1
Text MD5: f22097f4bba58c627e4b4f46562c924b
Transpilation MD5: e20830d84816918f7380647906a199ef
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-07-25 21:34:30
Source code size: 77 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 125 / 176
Referenced in: [show references]