Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 34388

For challenges involving sequences, typically of numbers following some pattern.

2 votes

Reading a timeline

05AB1E, 19 18 bytes Code: ð¢>UágF²N>.bkX-¹+, Explanation: ð¢ # Count the number of spaces before the year starts > # Increment by 1 U # Pop and …
Adnan's user avatar
  • 44.5k
8 votes

Count up folks!

05AB1E, 1 byte Code: L Try it online!. A more interesting approach: FN>, Explanation: F # For N in range(0, input): N> # Push N + 1 , # Pop and print with a newline Try it online!.
Adnan's user avatar
  • 44.5k
8 votes

Denominator of harmonic series

M, 9 6 bytes Thanks to FryAmTheEggman for saving 3 bytes! Code: RİSg¹İ M has a huge advantage here, because it works with fractions rather than floats. Explanation: R # Get the list [1 ... n]. …
Adnan's user avatar
  • 44.5k
4 votes
Accepted

Kuznetsov's Sequence

05AB1E, 11 bytes [‚{R`%Ð>#, Uses the CP-1252 encoding. Try it online!
Adnan's user avatar
  • 44.5k
5 votes

BIU numbers (or Sumdivized numbers)

05AB1E, 9 bytes µNNÑfOO>Ö Uses teh 05AB1E encoding. Try it online!
Adnan's user avatar
  • 44.5k
18 votes

Output the van der Corput sequence

05AB1E, 6 bytes Code: >GNÞR, Try it online! Explanation: > # Increment, pushes input + 1 G # For N in range(1, input + 1): N # Push N Þ # Convert to double, which appends `.0` …
Adnan's user avatar
  • 44.5k
6 votes

Sylvester's sequence

Oasis, 4 bytes Probably my last language from the golfing family! Non-competing, since the language postdates the challenge. Code: ²->2 Alternative solution thanks to Zwei: <*>2 Expanded version: a( …
Adnan's user avatar
  • 44.5k
2 votes

Denominator of harmonic series

05AB1E, 8 bytes Code: !йL/O¿/ Explanation: ! # Take the factorial of the input. Ð # Triplicate this. ¹L # Get the list [1 ... input]. /O # Divide and sum up. ¿ …
Adnan's user avatar
  • 44.5k
8 votes

Repeated Consecutive Digital Product Sum Convergence

05AB1E, 7 6 5 bytes Thanks to Emigna for saving a byte! vSγPO Uses the 05AB1E encoding. Try it online!
Adnan's user avatar
  • 44.5k
14 votes

All together now

05AB1E, 4 bytes Code: Ô¹ÙQ Explanation: Ô # Push connected uniquified input. E.g. 111223345565 would give 1234565. ¹ # Push input again. Ù # Uniquify the input. E.g. 111223345565 would gi …
Adnan's user avatar
  • 44.5k
6 votes

Generate the Abacaba sequence

Pyth, 14 13 bytes Thanks to Jakube for saving a byte! VhQ=+k+@GNk;k A solution with 14 bytes: VhQ=ks[k@GNk;k. Explanation: VhQ=+k+@GNk;k # Implicit: k = empty string VhQ # …
Adnan's user avatar
  • 44.5k
4 votes

Generate the Abacaba sequence

05AB1E, 12 bytes (non-competitive) Code: 'aIGDN>.bsJl I'll be damned. I fixed a lot of bugs thanks to this challenge haha. Explanation: 'aIGDN>.bsJl 'a # Push the character 'a' I …
Adnan's user avatar
  • 44.5k
3 votes

The middle-square method

Python 3 2, 139 114 97 bytes Thanks to Seeq for golfing off 25 bytes and thanks to Dennis for golfing off 17 bytes! Code: s=`input()`;u=[];l=len(s)/2 while not s in u:u+=[s];s=`int(s)**2`.zfill(l*4)[ …
Adnan's user avatar
  • 44.5k
3 votes

When will I have a binary car?

05AB1E, 31 bytes Code: 0IE\[²vs>sy+D§'aT«-""Qi\2/?}Ž}Ž Somehow, the code doesn't stop running (and I can't figure out why). Apparently I forgot that there are three loops going on instead of 2. So it …
Adnan's user avatar
  • 44.5k
2 votes

Print the difference in the Thue-Morse sequence

05AB1E, 14 13 bytes Code: ÎFDSÈJJ}¥1+¹£ Explanation: Î # Push 0 and input F } # Do the following n times DS # Duplicate and split È # Check if even …
Adnan's user avatar
  • 44.5k

1
2 3 4 5
8
15 30 50 per page