Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Integer Sequences

Name: Anonymous 2011-05-29 1:54

What in common between following sequences:

6, 18, 36, 60, 90, 126, 168, 216, ...

and

14, 64, 174, 368, 670, 1104, 1694, 2464, ...

???

Find formula, that generates them.

Name: Anonymous 2011-05-29 2:06

6 ^ (Σ 1..n)

and

https://oeis.org/A069964

Name: Anonymous 2011-05-29 2:11

map ?^(1/3) [1..2^16] | subst ?,frac==0.0 'i | ltl | {[@Xs 'i @Ys]->[Xs,len @Ys,r]}

6    18   36   60   90   126  168  216  270  330  396  468  546
630  720  816  918  1026 1140 1260 1386 1518 1656 1800 1950 2106
2268 2436 2610 2790 2976 3168 3366 3570 3780 3996 4218 4446 468


map {N -> (digits N | sum)^3 - (digits N | map ?^3 | sum)} [1..300] | drop 10

6    18   36   60   90   126  168  216  270  0    18   48   90
144  210  288  378  480  594  0    36   90   162  252  360  486
630  792  972  0    60   144  252  384  540  720  924  1152 1404

Name: Anonymous 2011-05-29 2:11

>>2
Nope. See >>3

Name: Anonymous 2011-05-29 2:13

>>4
Nice fail you have there.

Name: Anonymous 2011-05-29 2:15

>>3
My god.

That Intro to Haskell course did not prepare my body for this.

What are all these features. Curly brackets? @ signs? Question marks? This is madness!

Name: Anonymous 2011-05-29 2:17

blag. Revise >>2 as 6 * (Σ 1..n). 1, 3, 6, etc.

Name: Anonymous 2011-05-29 2:29

>>6
It just counts number of fractions between successive powers

map ?^(1/3) [2..2^16] | {[@Xs ?,frac==0.0 @Ys]->[Xs,len @Ys,r]}

Name: Anonymous 2011-05-29 2:32

>>7
lol

Name: Anonymous 2011-05-29 6:16

Let fn(x) = s(x)n - s(xn), where s(x) is the digit sum of x. The first sequence is f3, the second f4.

Name: Anonymous 2011-05-29 7:39

>>6
It's not Haskell, it's ``in Lisp'' DSL.

Name: Anonymous 2011-05-29 14:42

Name: Anonymous 2011-05-29 16:34

>>12
What? How did it guessed?

Name: Anonymous 2011-05-29 16:39

>>13
Fuckin' magnets.

Name: Anonymous 2011-05-29 16:43

>>14
Still it ommited results and comments from https://oeis.org/A069964  which may be helpful if you want to know the meaning of sequence.

Name: Anonymous 2011-05-29 16:49

>>3
Incorrect for the second portion,  dumbass.

Name: Anonymous 2011-05-29 18:10

they are both ways of keeping an autist busy

Name: Anonymous 2011-05-29 20:18


#++++++++>+<[->[->+>+<<]
#>[-<+>]<+>>[->+>+<<]>[-
#<+>]>[-<++++++>]+++++++
#+++<[->-[>+>>]>[+[-<+>]
#>+>>]<<<<<]>[-]>>>+++++
#+++++<[->-[>+>>]>[+[-<+
#>]>+>>]<<<<<]>[-]++++++
#++++++[->++++>++++<<<<+
#+++>>]>>.[-]<.[-]<<<.[-
#]>++++++++[->++++<]>.[-
#]<<<<<<<<]

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List